Skip to content

Commit 78589fa

Browse files
convert ComboBoxItem to Java, removing Xtend dependencies
1 parent c6f2b3d commit 78589fa

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

sqldev/src/main/java/org/utplsql/sqldev/ui/runner/ComboBoxItem.java

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2019 Philipp Salvisberg <philipp.salvisberg@trivadis.com>
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -17,14 +17,15 @@
1717

1818
import java.util.AbstractMap;
1919

20-
@SuppressWarnings("all")
2120
public class ComboBoxItem<K extends Object, V extends Object> extends AbstractMap.SimpleEntry<K, V> {
22-
public ComboBoxItem(final K key, final V value) {
23-
super(key, value);
24-
}
25-
26-
@Override
27-
public String toString() {
28-
return this.getValue().toString();
29-
}
21+
private static final long serialVersionUID = 7869442222989031548L;
22+
23+
public ComboBoxItem(final K key, final V value) {
24+
super(key, value);
25+
}
26+
27+
@Override
28+
public String toString() {
29+
return this.getValue().toString();
30+
}
3031
}

0 commit comments

Comments
 (0)