Procházet zdrojové kódy

Remove lombok from plugins

Change-Id: I30199c4047226537fbfb62de5aab1f228c81d74e
Reviewed-on: http://gerrit.dmdirc.com/3005
Reviewed-by: Chris Smith <chris@dmdirc.com>
Automatic-Compile: DMDirc Build Manager
tags/0.8
Greg Holmes před 10 roky
rodič
revize
27f467bf4f

+ 1
- 1
ivy.xml Zobrazit soubor

@@ -15,9 +15,9 @@
15 15
         <dependency org="com.squareup.dagger" name="dagger-compiler" rev="1.1.+" conf="build->default" />
16 16
 
17 17
         <dependency org="com.google.guava" name="guava" rev="15.+" conf="build->default" />
18
+        <dependency org="com.google.code.findbugs" name="jsr305" rev="2.+" conf="main->default" />
18 19
 
19 20
         <dependency org="org.slf4j" name="slf4j-api" rev="1.+" conf="main->default" />
20
-        <dependency org="org.projectlombok" name="lombok" rev="latest.integration" conf="main->default" />
21 21
         <dependency org="org.igniterealtime.smack" name="smack" rev="3.+" conf="main->default" />
22 22
         <dependency org="org.igniterealtime.smack" name="smackx" rev="3.+" conf="main->default" />
23 23
         <dependency org="com.miglayout" name="miglayout-swing" rev="4.+" conf="main->default" />

+ 5
- 5
src/com/dmdirc/addons/ui_swing/textpane/BackgroundPainter.java Zobrazit soubor

@@ -31,9 +31,9 @@ import com.dmdirc.util.URLBuilder;
31 31
 import java.awt.Graphics;
32 32
 import java.awt.Graphics2D;
33 33
 import java.awt.Image;
34
-import javax.swing.JComponent;
35 34
 
36
-import lombok.NonNull;
35
+import javax.annotation.Nonnull;
36
+import javax.swing.JComponent;
37 37
 
38 38
 import org.jdesktop.jxlayer.plaf.LayerUI;
39 39
 
@@ -46,19 +46,19 @@ public class BackgroundPainter extends LayerUI<JComponent> {
46 46
     /**
47 47
      * Domain to retrieve settings from.
48 48
      */
49
-    @NonNull
49
+    @Nonnull
50 50
     private final String domain;
51 51
 
52 52
     /**
53 53
      * Key in domain to get image URL from.
54 54
      */
55
-    @NonNull
55
+    @Nonnull
56 56
     private final String imageKey;
57 57
 
58 58
     /**
59 59
      * Key in domain to get image background type from.
60 60
      */
61
-    @NonNull
61
+    @Nonnull
62 62
     private final String optionKey;
63 63
 
64 64
     /** The URL builder to use to find icons. */

Načítá se…
Zrušit
Uložit