Skip to content

Commit 6c68ace

Browse files
committed
code cleanup
1 parent d7925cb commit 6c68ace

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

visualvm/heapviewer.truffle/src/org/graalvm/visualvm/heapviewer/truffle/TruffleObject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
*/
3636
public abstract class TruffleObject {
3737

38-
public static final DataType<TruffleObject> DATA_TYPE = new DataType<TruffleObject>(TruffleObject.class, null, null);
38+
public static final DataType<TruffleObject> DATA_TYPE = new DataType<>(TruffleObject.class, null, null);
3939

4040

4141
public abstract long getSize();

visualvm/heapviewer.truffle/src/org/graalvm/visualvm/heapviewer/truffle/TruffleObjectsWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
*/
3434
public abstract class TruffleObjectsWrapper<O extends TruffleObject> {
3535

36-
public static final DataType<TruffleObjectsWrapper> DATA_TYPE = new DataType<TruffleObjectsWrapper>(TruffleObjectsWrapper.class, null, null);
36+
public static final DataType<TruffleObjectsWrapper> DATA_TYPE = new DataType<>(TruffleObjectsWrapper.class, null, null);
3737

3838

3939
public abstract String getType();

visualvm/heapviewer.truffle/src/org/graalvm/visualvm/heapviewer/truffle/TruffleType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
*/
4141
public abstract class TruffleType<O extends TruffleObject> {
4242

43-
public static final DataType<String> TYPE_NAME = new DataType<String>(String.class, null, null);
43+
public static final DataType<String> TYPE_NAME = new DataType<>(String.class, null, null);
4444

4545
private final String name;
4646

0 commit comments

Comments
 (0)