Skip to content

Commit c6f2b3d

Browse files
add ComboBoxItem.java generated by Xtend 2.20.0
1 parent 023289f commit c6f2b3d

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

Lines changed: 13 additions & 11 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");
@@ -13,16 +13,18 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.utplsql.sqldev.ui.runner
16+
package org.utplsql.sqldev.ui.runner;
1717

18-
import java.util.AbstractMap
18+
import java.util.AbstractMap;
1919

20-
class ComboBoxItem<K,V> extends AbstractMap.SimpleEntry<K,V> {
21-
new(K key, V value) {
22-
super(key, value)
23-
}
24-
25-
override toString() {
26-
return value.toString
27-
}
20+
@SuppressWarnings("all")
21+
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+
}
2830
}

0 commit comments

Comments
 (0)