Skip to content

Commit 3037102

Browse files
committed
Remove useless throws in test.
1 parent c672e12 commit 3037102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/org.eclipse.swt.tests/data/clipboard/MyTypeSelection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public final class MyTypeSelection implements Transferable {
2020

2121
static DataFlavor flavor;
2222

23-
static void register() throws ClassNotFoundException {
23+
static void register() {
2424
flavor = new DataFlavor("application/x-my_type_name;class=java.io.InputStream", "my_type_name");
2525
SystemFlavorMap map = (SystemFlavorMap) SystemFlavorMap.getDefaultFlavorMap();
2626
map.addUnencodedNativeForFlavor(flavor, "my_type_name");

0 commit comments

Comments
 (0)