Browse Source

Move config bindings into a bundle.

Issue #750
pull/765/head
Chris Smith 7 years ago
parent
commit
eba7d85b03
21 changed files with 123 additions and 81 deletions
  1. 1
    0
      api/build.gradle
  2. 1
    1
      api/src/main/java/com/dmdirc/interfaces/config/AggregateConfigProvider.java
  3. 1
    0
      build.gradle
  4. 55
    0
      bundles/com.dmdirc.config.binding/build.gradle
  5. 12
    17
      bundles/com.dmdirc.config.binding/src/main/java/com/dmdirc/config/binding/BasicInvocation.java
  6. 12
    17
      bundles/com.dmdirc.config.binding/src/main/java/com/dmdirc/config/binding/ConfigBinder.java
  7. 12
    17
      bundles/com.dmdirc.config.binding/src/main/java/com/dmdirc/config/binding/ConfigBinding.java
  8. 12
    17
      bundles/com.dmdirc.config.binding/src/main/java/com/dmdirc/config/binding/Invocation.java
  9. 1
    1
      src/main/java/com/dmdirc/commandparser/CommandManager.java
  10. 2
    0
      src/main/java/com/dmdirc/config/ConfigBinderImpl.java
  11. 1
    0
      src/main/java/com/dmdirc/config/ConfigManager.java
  12. 2
    2
      src/main/java/com/dmdirc/logger/DiskLoggingErrorManager.java
  13. 2
    2
      src/main/java/com/dmdirc/logger/SentryLoggingErrorManager.java
  14. 1
    1
      src/main/java/com/dmdirc/ui/messages/UnreadStatusManagerImpl.java
  15. 1
    1
      src/main/java/com/dmdirc/updater/checking/DMDircCheckStrategy.java
  16. 1
    1
      src/main/java/com/dmdirc/updater/checking/NightlyChecker.java
  17. 1
    1
      src/test/java/com/dmdirc/WritableFrameContainerTest.java
  18. 2
    0
      src/test/java/com/dmdirc/config/ConfigBinderImplTest.java
  19. 1
    1
      src/test/java/com/dmdirc/logger/DiskLoggingErrorManagerTest.java
  20. 1
    1
      src/test/java/com/dmdirc/logger/SentryLoggingErrorManagerTest.java
  21. 1
    1
      src/test/java/com/dmdirc/updater/checking/NightlyCheckerTest.java

+ 1
- 0
api/build.gradle View File

@@ -45,6 +45,7 @@ dependencies {
45 45
     compile group: 'org.slf4j', name: 'slf4j-api', version:'1.7.21'
46 46
     compile group: 'com.squareup.dagger', name: 'dagger', version: '1.2.5'
47 47
     compile group: 'com.google.guava', name:'guava', version: '19.0'
48
+    compile group: 'com.dmdirc', name: 'com.dmdirc.config.binding', version: '+', changing: true
48 49
     compile group: 'com.dmdirc', name: 'com.dmdirc.events.eventbus', version: '+', changing: true
49 50
     compile group: 'com.dmdirc', name: 'util', version: '+', changing: true
50 51
     compile group: 'com.dmdirc', name: 'parser-common', version: '+', changing: true

+ 1
- 1
api/src/main/java/com/dmdirc/interfaces/config/AggregateConfigProvider.java View File

@@ -22,7 +22,7 @@
22 22
 
23 23
 package com.dmdirc.interfaces.config;
24 24
 
25
-import com.dmdirc.config.ConfigBinder;
25
+import com.dmdirc.config.binding.ConfigBinder;
26 26
 
27 27
 import java.util.List;
28 28
 import java.util.Set;

+ 1
- 0
build.gradle View File

@@ -46,6 +46,7 @@ dependencies {
46 46
     bundle group: 'net.engio', name: 'mbassador', version: '1.3.0'
47 47
     bundle group: 'com.google.code.gson', name: 'gson', 'version': '2.5'
48 48
 
49
+    bundle group: 'com.dmdirc', name: 'com.dmdirc.config.binding', version: '+', changing: true
49 50
     bundle group: 'com.dmdirc', name: 'com.dmdirc.events.eventbus', version: '+', changing: true
50 51
     bundle group: 'com.dmdirc', name: 'com.dmdirc.util.io.yaml', version: '+', changing: true
51 52
 

+ 55
- 0
bundles/com.dmdirc.config.binding/build.gradle View File

@@ -0,0 +1,55 @@
1
+/*
2
+ * Copyright (c) 2006-2017 DMDirc Developers
3
+ *
4
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
5
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
6
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
7
+ * permit persons to whom the Software is furnished to do so, subject to the following conditions:
8
+ *
9
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
10
+ * Software.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
13
+ * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
14
+ * OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
15
+ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
16
+ */
17
+
18
+plugins {
19
+    id 'java'
20
+    id 'findbugs'
21
+    id 'pmd'
22
+    id 'idea'
23
+    id 'osgi'
24
+}
25
+
26
+group = 'com.dmdirc'
27
+
28
+idea {
29
+    module {
30
+         sourceDirs += file('src/main/generated')
31
+         testSourceDirs += file('src/test/generated_tests')
32
+         generatedSourceDirs = [file('src/main/generated'), file('src/test/generated_tests')]
33
+    }
34
+}
35
+
36
+configurations.all {
37
+    resolutionStrategy.cacheDynamicVersionsFor 2, 'minutes'
38
+    resolutionStrategy.cacheChangingModulesFor 2, 'minutes'
39
+}
40
+
41
+dependencies {
42
+    compile group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.1'
43
+    compile group: 'org.slf4j', name: 'slf4j-api', version:'1.7.21'
44
+
45
+    testCompile group: 'junit', name: 'junit', version: '4.12'
46
+    testCompile group: 'org.mockito', name: 'mockito-core', version: '1.10.19'
47
+}
48
+
49
+sourceCompatibility = 1.8
50
+targetCompatibility = 1.8
51
+
52
+repositories {
53
+    mavenCentral()
54
+}
55
+

api/src/main/java/com/dmdirc/config/BasicInvocation.java → bundles/com.dmdirc.config.binding/src/main/java/com/dmdirc/config/binding/BasicInvocation.java View File

@@ -1,26 +1,21 @@
1 1
 /*
2
- * Copyright (c) 2006-2015 DMDirc Developers
2
+ * Copyright (c) 2006-2017 DMDirc Developers
3 3
  *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy
5
- * of this software and associated documentation files (the "Software"), to deal
6
- * in the Software without restriction, including without limitation the rights
7
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- * copies of the Software, and to permit persons to whom the Software is
9
- * furnished to do so, subject to the following conditions:
4
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
5
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
6
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
7
+ * permit persons to whom the Software is furnished to do so, subject to the following conditions:
10 8
  *
11
- * The above copyright notice and this permission notice shall be included in
12
- * all copies or substantial portions of the Software.
9
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
10
+ * Software.
13 11
  *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
- * SOFTWARE.
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
13
+ * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
14
+ * OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
15
+ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 16
  */
22 17
 
23
-package com.dmdirc.config;
18
+package com.dmdirc.config.binding;
24 19
 
25 20
 import java.lang.reflect.Field;
26 21
 import java.lang.reflect.Method;

api/src/main/java/com/dmdirc/config/ConfigBinder.java → bundles/com.dmdirc.config.binding/src/main/java/com/dmdirc/config/binding/ConfigBinder.java View File

@@ -1,26 +1,21 @@
1 1
 /*
2
- * Copyright (c) 2006-2015 DMDirc Developers
2
+ * Copyright (c) 2006-2017 DMDirc Developers
3 3
  *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy
5
- * of this software and associated documentation files (the "Software"), to deal
6
- * in the Software without restriction, including without limitation the rights
7
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- * copies of the Software, and to permit persons to whom the Software is
9
- * furnished to do so, subject to the following conditions:
4
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
5
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
6
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
7
+ * permit persons to whom the Software is furnished to do so, subject to the following conditions:
10 8
  *
11
- * The above copyright notice and this permission notice shall be included in
12
- * all copies or substantial portions of the Software.
9
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
10
+ * Software.
13 11
  *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
- * SOFTWARE.
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
13
+ * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
14
+ * OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
15
+ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 16
  */
22 17
 
23
-package com.dmdirc.config;
18
+package com.dmdirc.config.binding;
24 19
 
25 20
 import javax.annotation.Nonnull;
26 21
 

api/src/main/java/com/dmdirc/config/ConfigBinding.java → bundles/com.dmdirc.config.binding/src/main/java/com/dmdirc/config/binding/ConfigBinding.java View File

@@ -1,26 +1,21 @@
1 1
 /*
2
- * Copyright (c) 2006-2015 DMDirc Developers
2
+ * Copyright (c) 2006-2017 DMDirc Developers
3 3
  *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy
5
- * of this software and associated documentation files (the "Software"), to deal
6
- * in the Software without restriction, including without limitation the rights
7
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- * copies of the Software, and to permit persons to whom the Software is
9
- * furnished to do so, subject to the following conditions:
4
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
5
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
6
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
7
+ * permit persons to whom the Software is furnished to do so, subject to the following conditions:
10 8
  *
11
- * The above copyright notice and this permission notice shall be included in
12
- * all copies or substantial portions of the Software.
9
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
10
+ * Software.
13 11
  *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
- * SOFTWARE.
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
13
+ * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
14
+ * OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
15
+ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 16
  */
22 17
 
23
-package com.dmdirc.config;
18
+package com.dmdirc.config.binding;
24 19
 
25 20
 import java.lang.annotation.ElementType;
26 21
 import java.lang.annotation.Retention;

api/src/main/java/com/dmdirc/config/Invocation.java → bundles/com.dmdirc.config.binding/src/main/java/com/dmdirc/config/binding/Invocation.java View File

@@ -1,26 +1,21 @@
1 1
 /*
2
- * Copyright (c) 2006-2015 DMDirc Developers
2
+ * Copyright (c) 2006-2017 DMDirc Developers
3 3
  *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy
5
- * of this software and associated documentation files (the "Software"), to deal
6
- * in the Software without restriction, including without limitation the rights
7
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- * copies of the Software, and to permit persons to whom the Software is
9
- * furnished to do so, subject to the following conditions:
4
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
5
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
6
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
7
+ * permit persons to whom the Software is furnished to do so, subject to the following conditions:
10 8
  *
11
- * The above copyright notice and this permission notice shall be included in
12
- * all copies or substantial portions of the Software.
9
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
10
+ * Software.
13 11
  *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
- * SOFTWARE.
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
13
+ * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
14
+ * OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
15
+ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 16
  */
22 17
 
23
-package com.dmdirc.config;
18
+package com.dmdirc.config.binding;
24 19
 
25 20
 import java.lang.reflect.AccessibleObject;
26 21
 import java.lang.reflect.Field;

+ 1
- 1
src/main/java/com/dmdirc/commandparser/CommandManager.java View File

@@ -20,7 +20,7 @@ package com.dmdirc.commandparser;
20 20
 import com.dmdirc.GlobalWindow;
21 21
 import com.dmdirc.commandparser.commands.Command;
22 22
 import com.dmdirc.commandparser.parsers.CommandParser;
23
-import com.dmdirc.config.ConfigBinding;
23
+import com.dmdirc.config.binding.ConfigBinding;
24 24
 import com.dmdirc.interfaces.CommandController;
25 25
 import com.dmdirc.interfaces.Connection;
26 26
 import com.dmdirc.interfaces.ConnectionManager;

+ 2
- 0
src/main/java/com/dmdirc/config/ConfigBinderImpl.java View File

@@ -17,6 +17,8 @@
17 17
 
18 18
 package com.dmdirc.config;
19 19
 
20
+import com.dmdirc.config.binding.ConfigBinder;
21
+import com.dmdirc.config.binding.ConfigBinding;
20 22
 import com.dmdirc.interfaces.config.AggregateConfigProvider;
21 23
 import com.dmdirc.interfaces.config.ConfigChangeListener;
22 24
 

+ 1
- 0
src/main/java/com/dmdirc/config/ConfigManager.java View File

@@ -17,6 +17,7 @@
17 17
 
18 18
 package com.dmdirc.config;
19 19
 
20
+import com.dmdirc.config.binding.ConfigBinder;
20 21
 import com.dmdirc.interfaces.config.AggregateConfigProvider;
21 22
 import com.dmdirc.interfaces.config.ConfigChangeListener;
22 23
 import com.dmdirc.interfaces.config.ConfigProvider;

+ 2
- 2
src/main/java/com/dmdirc/logger/DiskLoggingErrorManager.java View File

@@ -19,8 +19,8 @@ package com.dmdirc.logger;
19 19
 
20 20
 import com.dmdirc.commandline.CommandLineOptionsModule.Directory;
21 21
 import com.dmdirc.commandline.CommandLineOptionsModule.DirectoryType;
22
-import com.dmdirc.config.ConfigBinder;
23
-import com.dmdirc.config.ConfigBinding;
22
+import com.dmdirc.config.binding.ConfigBinder;
23
+import com.dmdirc.config.binding.ConfigBinding;
24 24
 import com.dmdirc.events.ErrorEvent;
25 25
 import com.dmdirc.events.ProgramErrorEvent;
26 26
 import com.dmdirc.events.eventbus.EventBus;

+ 2
- 2
src/main/java/com/dmdirc/logger/SentryLoggingErrorManager.java View File

@@ -17,8 +17,8 @@
17 17
 
18 18
 package com.dmdirc.logger;
19 19
 
20
-import com.dmdirc.config.ConfigBinder;
21
-import com.dmdirc.config.ConfigBinding;
20
+import com.dmdirc.config.binding.ConfigBinder;
21
+import com.dmdirc.config.binding.ConfigBinding;
22 22
 import com.dmdirc.events.ProgramErrorAddedEvent;
23 23
 import com.dmdirc.events.ProgramErrorEvent;
24 24
 import com.dmdirc.events.ProgramErrorStatusEvent;

+ 1
- 1
src/main/java/com/dmdirc/ui/messages/UnreadStatusManagerImpl.java View File

@@ -17,7 +17,7 @@
17 17
 
18 18
 package com.dmdirc.ui.messages;
19 19
 
20
-import com.dmdirc.config.ConfigBinding;
20
+import com.dmdirc.config.binding.ConfigBinding;
21 21
 import com.dmdirc.events.BaseChannelTextEvent;
22 22
 import com.dmdirc.events.BaseQueryTextEvent;
23 23
 import com.dmdirc.events.ChannelHighlightEvent;

+ 1
- 1
src/main/java/com/dmdirc/updater/checking/DMDircCheckStrategy.java View File

@@ -17,7 +17,7 @@
17 17
 
18 18
 package com.dmdirc.updater.checking;
19 19
 
20
-import com.dmdirc.config.ConfigBinding;
20
+import com.dmdirc.config.binding.ConfigBinding;
21 21
 import com.dmdirc.config.GlobalConfig;
22 22
 import com.dmdirc.interfaces.config.AggregateConfigProvider;
23 23
 import com.dmdirc.updater.UpdateChannel;

+ 1
- 1
src/main/java/com/dmdirc/updater/checking/NightlyChecker.java View File

@@ -17,7 +17,7 @@
17 17
 
18 18
 package com.dmdirc.updater.checking;
19 19
 
20
-import com.dmdirc.config.ConfigBinding;
20
+import com.dmdirc.config.binding.ConfigBinding;
21 21
 import com.dmdirc.config.GlobalConfig;
22 22
 import com.dmdirc.interfaces.config.AggregateConfigProvider;
23 23
 import com.dmdirc.updater.UpdateChannel;

+ 1
- 1
src/test/java/com/dmdirc/WritableFrameContainerTest.java View File

@@ -23,7 +23,7 @@
23 23
 package com.dmdirc;
24 24
 
25 25
 import com.dmdirc.commandparser.CommandManager;
26
-import com.dmdirc.config.ConfigBinder;
26
+import com.dmdirc.config.binding.ConfigBinder;
27 27
 import com.dmdirc.harness.TestWritableFrameContainer;
28 28
 import com.dmdirc.interfaces.ConnectionManager;
29 29
 import com.dmdirc.events.eventbus.EventBus;

+ 2
- 0
src/test/java/com/dmdirc/config/ConfigBinderImplTest.java View File

@@ -22,6 +22,8 @@
22 22
 
23 23
 package com.dmdirc.config;
24 24
 
25
+import com.dmdirc.config.binding.ConfigBinder;
26
+import com.dmdirc.config.binding.ConfigBinding;
25 27
 import com.dmdirc.interfaces.config.AggregateConfigProvider;
26 28
 
27 29
 import org.junit.Before;

+ 1
- 1
src/test/java/com/dmdirc/logger/DiskLoggingErrorManagerTest.java View File

@@ -22,7 +22,7 @@
22 22
 
23 23
 package com.dmdirc.logger;
24 24
 
25
-import com.dmdirc.config.ConfigBinder;
25
+import com.dmdirc.config.binding.ConfigBinder;
26 26
 import com.dmdirc.events.ProgramErrorEvent;
27 27
 import com.dmdirc.events.eventbus.EventBus;
28 28
 import com.dmdirc.interfaces.config.AggregateConfigProvider;

+ 1
- 1
src/test/java/com/dmdirc/logger/SentryLoggingErrorManagerTest.java View File

@@ -22,7 +22,7 @@
22 22
 
23 23
 package com.dmdirc.logger;
24 24
 
25
-import com.dmdirc.config.ConfigBinder;
25
+import com.dmdirc.config.binding.ConfigBinder;
26 26
 import com.dmdirc.events.ProgramErrorAddedEvent;
27 27
 import com.dmdirc.events.eventbus.EventBus;
28 28
 import com.dmdirc.interfaces.config.AggregateConfigProvider;

+ 1
- 1
src/test/java/com/dmdirc/updater/checking/NightlyCheckerTest.java View File

@@ -22,7 +22,7 @@
22 22
 
23 23
 package com.dmdirc.updater.checking;
24 24
 
25
-import com.dmdirc.config.ConfigBinder;
25
+import com.dmdirc.config.binding.ConfigBinder;
26 26
 import com.dmdirc.interfaces.config.AggregateConfigProvider;
27 27
 import com.dmdirc.updater.UpdateComponent;
28 28
 import com.dmdirc.updater.Version;

Loading…
Cancel
Save