diff options
Diffstat (limited to 'bundles/org.eclipse.compare/compare/org/eclipse/compare/patch/IFilePatch.java')
-rw-r--r-- | bundles/org.eclipse.compare/compare/org/eclipse/compare/patch/IFilePatch.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/bundles/org.eclipse.compare/compare/org/eclipse/compare/patch/IFilePatch.java b/bundles/org.eclipse.compare/compare/org/eclipse/compare/patch/IFilePatch.java index dbbe84cc5..e2f8b8964 100644 --- a/bundles/org.eclipse.compare/compare/org/eclipse/compare/patch/IFilePatch.java +++ b/bundles/org.eclipse.compare/compare/org/eclipse/compare/patch/IFilePatch.java @@ -16,7 +16,7 @@ import org.eclipse.core.runtime.IProgressMonitor; /** * A representation of a file patch that can be applied to an input stream. - * + * * @see ApplyPatchOperation#parsePatch(org.eclipse.core.resources.IStorage) * @since 3.3 * @noimplement This interface is not intended to be implemented by clients. @@ -24,20 +24,20 @@ import org.eclipse.core.runtime.IProgressMonitor; * {@link ApplyPatchOperation#parsePatch(org.eclipse.core.resources.IStorage)}. */ public interface IFilePatch extends IFilePatch2 { - + /** * Special constant that will be returned from get getBeforeDate() or * getAfterDate() if the date is unknown. Equal to Midnight, Jan 1, 1970 * GMT. - * + * * @since 3.4 */ public static long DATE_UNKNOWN = 0; - + /** * Return the target path for this patch. The target path may differ * depending on whether the patch is being reversed or not. - * + * * @param configuration the patch configuration * @return the target path for this patch * @see PatchConfiguration#isReversed() @@ -48,7 +48,7 @@ public interface IFilePatch extends IFilePatch2 { * Apply this patch to the given file contents. The result provides the * original and patch contents and also indicates whether some portions of * the patch (called hunks) failed to apply. - * + * * @param contents the file contents * @param configuration the patch configuration * @param monitor a progress monitor @@ -56,7 +56,7 @@ public interface IFilePatch extends IFilePatch2 { */ public IFilePatchResult apply(IStorage contents, PatchConfiguration configuration, IProgressMonitor monitor); - + /** * Return the header information of the patch or * <code>null</code> if there was no header text. @@ -65,11 +65,11 @@ public interface IFilePatch extends IFilePatch2 { * <code>null</code> */ public String getHeader(); - + /** * Returns the milliseconds time value of the before date from the patch, or * DATE_UNKNOWN if the date is unknown. - * + * * @return milliseconds time value of the before date from the patch * @since 3.4 */ @@ -78,7 +78,7 @@ public interface IFilePatch extends IFilePatch2 { /** * Returns the milliseconds time value of the after date from the patch, or * DATE_UNKNOWN if the date is unknown. - * + * * @return milliseconds time value of the after date from the patch * @since 3.4 */ |