Skip to content

Commit

Permalink
7235: Some writer cleanup
Browse files Browse the repository at this point in the history
Reviewed-by: jbachorik, hdafgard
  • Loading branch information
thegreystone committed May 17, 2021
1 parent 9852c99 commit 278a95f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ public List<Annotation> getAnnotations() {
return annotations;
}

@SuppressWarnings("unchecked")
@Override
public boolean equals(Object o) {
if (this == o) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
*/
package org.openjdk.jmc.flightrecorder.writer.api;

import org.openjdk.jmc.flightrecorder.writer.TypedFieldImpl;

import java.util.List;
import java.util.function.Consumer;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ class TypedValueBuilderImplTest {
private TypedValueBuilderImpl instance;
private TypeImpl simpleType;
private TypeImpl customType;
private TypeImpl stringType;
private TypeImpl longType;

@BeforeAll
Expand All @@ -74,7 +73,6 @@ void setUp() {
TypesImpl types = new TypesImpl(new MetadataImpl(new ConstantPools()));

longType = types.getType(Types.Builtin.LONG);
stringType = types.getType(TypesImpl.Builtin.STRING);

simpleType = types.getOrAdd("custom.Simple", builder -> {
builder.addField(SIMPLE_FIELD_NAME, TypesImpl.Builtin.STRING);
Expand Down

0 comments on commit 278a95f

Please sign in to comment.