]> source.dussan.org Git - vaadin-framework.git/commitdiff
Suppressed warnings in tests
authorArtur Signell <artur.signell@itmill.com>
Mon, 20 Dec 2010 14:13:22 +0000 (14:13 +0000)
committerArtur Signell <artur.signell@itmill.com>
Mon, 20 Dec 2010 14:13:22 +0000 (14:13 +0000)
svn changeset:16582/svn branch:6.5

tests/src/com/vaadin/tests/dd/DDTest6.java

index d25335a5808c079b0b7f2c1f564b4380f6dc9119..4299b321c34f3ae9130b277d237fa2439a415e62 100644 (file)
@@ -318,6 +318,7 @@ public class DDTest6 extends TestBase {
             super.attach();
         }
 
+        @SuppressWarnings("static-access")
         void reload() {
             Collection<?> children = folder == null ? DDTest6.get().tree1
                     .rootItemIds() : DDTest6.get().tree1.getChildren(folder);
@@ -354,6 +355,7 @@ public class DDTest6 extends TestBase {
 
         }
 
+        @SuppressWarnings("static-access")
         public void drop(DragAndDropEvent dropEvent) {
 
             if (dropEvent.getTransferable().getSourceComponent() instanceof FileIcon) {
@@ -471,6 +473,7 @@ public class DDTest6 extends TestBase {
             l.addComponent(new Label(name));
 
             l.addListener(new LayoutClickListener() {
+                @SuppressWarnings("static-access")
                 public void layoutClick(LayoutClickEvent event) {
                     if (event.isDoubleClick()) {
                         if (file instanceof Folder) {