Skip to content

Commit 4a4daf0

Browse files
committed
[release] Release new version.
1 parent 68b9f6d commit 4a4daf0

File tree

6 files changed

+11
-4
lines changed

6 files changed

+11
-4
lines changed

byte-buddy-dep/src/main/java/net/bytebuddy/build/EntryPoint.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
/**
3434
* An entry point for a build tool which is responsible for the transformation's configuration.
3535
*/
36-
public interface EntryPoint {
36+
public interface EntryPoint extends Serializable {
3737

3838
/**
3939
* Returns the Byte Buddy instance to use.
@@ -159,7 +159,7 @@ public DynamicType.Builder<?> transform(TypeDescription typeDescription,
159159
* An entry point that wraps another entry point but disables validation.
160160
*/
161161
@HashCodeAndEqualsPlugin.Enhance
162-
class Unvalidated implements EntryPoint, Serializable {
162+
class Unvalidated implements EntryPoint {
163163

164164
/**
165165
* The serial version UID.

byte-buddy-dep/src/test/java/net/bytebuddy/asm/MemberSubstitutionTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package net.bytebuddy.asm;
22

3-
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
43
import net.bytebuddy.ByteBuddy;
54
import net.bytebuddy.description.method.MethodDescription;
65
import net.bytebuddy.description.modifier.Visibility;
@@ -876,7 +875,7 @@ public void testSubstitutionChainArgumentInstrumentedMethodLoadedThis() throws E
876875
Object instance = type.getDeclaredConstructor().newInstance();
877876
assertThat(type.getDeclaredField(FOO).get(instance), is((Object) FOO));
878877
assertThat(type.getDeclaredMethod(RUN, Object.class).invoke(instance, QUX), nullValue(Object.class));
879-
assertThat(type.getDeclaredField(FOO).get(instance), is((Object) instance));
878+
assertThat(type.getDeclaredField(FOO).get(instance), is(instance));
880879
}
881880

882881
@Test

byte-buddy-maven-plugin/src/test/java/net/bytebuddy/build/maven/InitializationTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ public void testAsCoordinateUnresolved() throws Exception {
132132

133133
public static class Foo implements EntryPoint {
134134

135+
private static final long serialVersionUID = 1L;
136+
135137
public ByteBuddy byteBuddy(ClassFileVersion classFileVersion) {
136138
throw new AssertionError();
137139
}

byte-buddy-maven-plugin/src/test/java/net/bytebuddy/test/IllegalEntryPoint.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
public class IllegalEntryPoint implements EntryPoint {
1212

13+
private static final long serialVersionUID = 1L;
14+
1315
public ByteBuddy byteBuddy(ClassFileVersion classFileVersion) {
1416
throw new RuntimeException();
1517
}

byte-buddy-maven-plugin/src/test/java/net/bytebuddy/test/IllegalTransformEntryPoint.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
public class IllegalTransformEntryPoint implements EntryPoint {
1212

13+
private static final long serialVersionUID = 1L;
14+
1315
public ByteBuddy byteBuddy(ClassFileVersion classFileVersion) {
1416
return new ByteBuddy(classFileVersion);
1517
}

byte-buddy-maven-plugin/src/test/java/net/bytebuddy/test/SimpleEntryPoint.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
public class SimpleEntryPoint implements EntryPoint {
1212

13+
private static final long serialVersionUID = 1L;
14+
1315
public ByteBuddy byteBuddy(ClassFileVersion classFileVersion) {
1416
return new ByteBuddy(classFileVersion);
1517
}

0 commit comments

Comments
 (0)