Skip to content

Commit

Permalink
made compatible with Java 5 by removing @OverRide annotations on
Browse files Browse the repository at this point in the history
implemented interface methods which are only valid in Java 6.
  • Loading branch information
Hendrik Brummermann committed Aug 2, 2011
1 parent 20d13bc commit e0bbb68
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
12 changes: 11 additions & 1 deletion .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
#Tue Aug 02 14:21:30 CEST 2011
#Tue Aug 02 14:27:43 CEST 2011
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.5
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.5
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
Expand Down
2 changes: 0 additions & 2 deletions src/main/zipdiff/output/AbstractBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public abstract class AbstractBuilder implements Builder {

protected int numberOfOutputPrefixesToSkip;

@Override
public void build(String filename, int numberOfOutputPrefixesToSkip, Differences d) throws IOException {
this.numberOfOutputPrefixesToSkip = numberOfOutputPrefixesToSkip;
OutputStream os = null;
Expand All @@ -33,6 +32,5 @@ public void build(String filename, int numberOfOutputPrefixesToSkip, Differences
os.flush();
}

@Override
public abstract void build(OutputStream out, Differences d);
}
2 changes: 1 addition & 1 deletion src/test/zipdiff/DifferenceCalculatorTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class DifferenceCalculatorTest extends TestCase {
private static String testDirPathName;

// naming convention The Capital letter denotes the entry so A will be the same as A
// OneEntry denotes that the jar has one entry
// OneEntry denotes that the jar has one entry
private static String testJarOneEntryA1Filename;

private static String testJarOneEntryA2Filename;
Expand Down

0 comments on commit e0bbb68

Please sign in to comment.