-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
118 changed files
with
4,005 additions
and
2,167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* text=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
japicmp-testbase/japicmp-test-v1/src/main/java/japicmp/test/MethodReturnType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package japicmp.test; | ||
|
||
import java.util.Arrays; | ||
import java.util.Collections; | ||
import java.util.List; | ||
|
||
public class MethodReturnType { | ||
|
||
public int methodReturnTypeUnchanged() { | ||
return 42; | ||
} | ||
|
||
public int methodReturnTypeChangesFromIntToString() { | ||
return 42; | ||
} | ||
|
||
public String methodReturnTypeChangesFromStringToInt() { | ||
return ""; | ||
} | ||
|
||
public List<MethodReturnType> methodReturnTypeChangesFromListToMap() { | ||
return Collections.EMPTY_LIST; | ||
} | ||
|
||
public void methodReturnTypeChangesFromVoidToInt() { | ||
|
||
} | ||
} |
88 changes: 44 additions & 44 deletions
88
japicmp-testbase/japicmp-test-v1/src/main/java/japicmp/test/Modifier.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
package japicmp.test; | ||
|
||
public class Modifier { | ||
|
||
public void publicToPrivateMethod() { | ||
|
||
} | ||
|
||
public static class ModifierPublicToProtected { | ||
|
||
} | ||
|
||
public void nonFinalToFinalMethod() { | ||
|
||
} | ||
|
||
public final void finalToNonFinalMethod() { | ||
|
||
} | ||
|
||
public final void finalStaysFinalMethod() { | ||
|
||
} | ||
|
||
public void nonFinalStaysNonFinalMethod() { | ||
|
||
} | ||
|
||
public void nonStaticToStaticMethod() { | ||
|
||
} | ||
|
||
public static void StaticToNonStaticMethod() { | ||
|
||
} | ||
|
||
public static void staticStaysStaticMethod() { | ||
|
||
} | ||
|
||
public void nonStaticStaysNonStaticMethod() { | ||
|
||
} | ||
} | ||
package japicmp.test; | ||
|
||
public class Modifier { | ||
|
||
public void publicToPrivateMethod() { | ||
|
||
} | ||
|
||
public static class ModifierPublicToProtected { | ||
|
||
} | ||
|
||
public void nonFinalToFinalMethod() { | ||
|
||
} | ||
|
||
public final void finalToNonFinalMethod() { | ||
|
||
} | ||
|
||
public final void finalStaysFinalMethod() { | ||
|
||
} | ||
|
||
public void nonFinalStaysNonFinalMethod() { | ||
|
||
} | ||
|
||
public void nonStaticToStaticMethod() { | ||
|
||
} | ||
|
||
public static void StaticToNonStaticMethod() { | ||
|
||
} | ||
|
||
public static void staticStaysStaticMethod() { | ||
|
||
} | ||
|
||
public void nonStaticStaysNonStaticMethod() { | ||
|
||
} | ||
} |
8 changes: 4 additions & 4 deletions
8
japicmp-testbase/japicmp-test-v1/src/main/java/japicmp/test/Removed.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package japicmp.test; | ||
|
||
public class Removed { | ||
} | ||
package japicmp.test; | ||
|
||
public class Removed { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 12 additions & 12 deletions
24
japicmp-testbase/japicmp-test-v1/src/main/java/japicmp/test/Unchanged.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
package japicmp.test; | ||
|
||
public class Unchanged { | ||
|
||
public void unchangedMethod(String str) { | ||
System.out.println(str); | ||
} | ||
|
||
public void unchangedMethodWith2Params(String param1, String param2) { | ||
|
||
} | ||
} | ||
package japicmp.test; | ||
|
||
public class Unchanged { | ||
|
||
public void unchangedMethod(String str) { | ||
System.out.println(str); | ||
} | ||
|
||
public void unchangedMethodWith2Params(String param1, String param2) { | ||
|
||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...e/japicmp-test-v1/src/main/java/japicmp/test/annotation/AnnotationAddedToConstructor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package japicmp.test.annotation; | ||
|
||
public class AnnotationAddedToConstructor { | ||
|
||
public AnnotationAddedToConstructor(String arg) { | ||
|
||
} | ||
} |
8 changes: 4 additions & 4 deletions
8
japicmp-testbase/japicmp-test-v1/src/main/java/japicmp/test/packageOne/PackageOne.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package japicmp.test.packageOne; | ||
|
||
public class PackageOne { | ||
} | ||
package japicmp.test.packageOne; | ||
|
||
public class PackageOne { | ||
} |
8 changes: 4 additions & 4 deletions
8
japicmp-testbase/japicmp-test-v1/src/main/java/japicmp/test/packageTwo/PackageTwo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package japicmp.test.packageTwo; | ||
|
||
public class PackageTwo { | ||
} | ||
package japicmp.test.packageTwo; | ||
|
||
public class PackageTwo { | ||
} |
10 changes: 10 additions & 0 deletions
10
...picmp-test-v1/src/main/java/japicmp/test/semver/finalfield/PublicClassWithFinalField.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package japicmp.test.semver.finalfield; | ||
|
||
public class PublicClassWithFinalField { | ||
|
||
private String fieldChangesFromPrivateToPrivateFinal; | ||
|
||
public PublicClassWithFinalField(String fieldChangesFromPrivateToPrivateFinal) { | ||
this.fieldChangesFromPrivateToPrivateFinal = fieldChangesFromPrivateToPrivateFinal; | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...st-v1/src/main/java/japicmp/test/semver/finalpublicmethod/ClassWithFinalPublicMethod.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package japicmp.test.semver.finalpublicmethod; | ||
|
||
public class ClassWithFinalPublicMethod { | ||
|
||
public void methodChangesFromNonFinalToFinal() { | ||
|
||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...cmp-testbase/japicmp-test-v1/src/main/java/japicmp/test/semver001/a/SemverTestee001a.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package japicmp.test.semver001.a; | ||
|
||
public class SemverTestee001a { | ||
|
||
public void methodUnchanged() { | ||
|
||
} | ||
|
||
public int methodImplementationChanges(int a, int b) { | ||
return a + b; | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...cmp-testbase/japicmp-test-v1/src/main/java/japicmp/test/semver010/a/SemverTestee010a.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package japicmp.test.semver010.a; | ||
|
||
public class SemverTestee010a { | ||
|
||
public void methodAnnotationDeprecatedAdded() { | ||
|
||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
...ava/japicmp/test/semver010/b/SemverTestee010bAccessModiferChangesFromDefaultToPublic.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package japicmp.test.semver010.b; | ||
|
||
class SemverTestee010bAccessModiferChangesFromDefaultToPublic { | ||
|
||
} |
Oops, something went wrong.