Skip to content

Commit

Permalink
#123 addition of interface no longer source incompatible
Browse files Browse the repository at this point in the history
  • Loading branch information
siom79 committed Mar 19, 2016
1 parent 7a1ca75 commit 33f8ad0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public enum JApiCompatibilityChange {
SUPERCLASS_CHANGED(false, false),
SUPERCLASS_ADDED(true, true),
SUPERCLASS_MODIFIED_INCOMPATIBLE(false, false),
INTERFACE_ADDED(true, false),
INTERFACE_ADDED(true, true),
INTERFACE_REMOVED(true, false),
METHOD_REMOVED(false, false),
METHOD_LESS_ACCESSIBLE(false, false),
Expand Down
2 changes: 1 addition & 1 deletion japicmp/src/test/java/japicmp/cmp/InterfacesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public List<CtClass> createNewClasses(ClassPool classPool) throws Exception {
});
JApiClass jApiClass = getJApiClass(jApiClasses, "Test");
assertThat(jApiClass.isBinaryCompatible(), is(true));
assertThat(jApiClass.isSourceCompatible(), is(false));
assertThat(jApiClass.isSourceCompatible(), is(true));
assertThat(jApiClass.getCompatibilityChanges(), hasItem(JApiCompatibilityChange.INTERFACE_ADDED));
}

Expand Down
1 change: 1 addition & 0 deletions src/site/markdown/MavenPlugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ the &lt;dependency&gt; element. Through the &lt;parameter&gt; element you can pr
| skipXmlReport | true | false | If set to true, no XML report will be generated.|
| skipHtmlReport | true | false | If set to true, no HTML report will be generated.|
| skipDiffReport | true | false | If set to true, no diff report will be generated.|
| ignoreMissingOldVersion | true | false | If set to true, not resolvable artifacts for the old version do not break the build.|

If your library implements interfaces or extends classes from other libraries than the JDK, you can add these dependencies by using the
&lt;dependencies&gt; element:
Expand Down

0 comments on commit 33f8ad0

Please sign in to comment.