litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/ebiconservice/server/IconServicePusherLocator.java
|
@@ -1,22 +1,18 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
2 |
|
package org.litesoft.GWT.ebiconservice.server; |
3 |
3 |
|
|
4 |
|
- |
public class IconServicePusherLocator |
5 |
|
- |
{ |
|
4 |
+ |
public class IconServicePusherLocator { |
6 |
5 |
|
private static IconServicePusher sInstance = NullIconServicePusher.NULL; |
7 |
6 |
|
|
8 |
|
- |
public static IconServicePusher getInstance() |
9 |
|
- |
{ |
|
7 |
+ |
public static IconServicePusher getInstance() { |
10 |
8 |
|
return sInstance; |
11 |
9 |
|
} |
12 |
10 |
|
|
13 |
|
- |
public static void setInstance( IconServicePusher pInstance ) |
14 |
|
- |
{ |
|
11 |
+ |
public static void setInstance( IconServicePusher pInstance ) { |
15 |
12 |
|
sInstance = (pInstance != null) ? pInstance : NullIconServicePusher.NULL; |
16 |
13 |
|
} |
17 |
14 |
|
|
18 |
|
- |
private static class NullIconServicePusher implements IconServicePusher |
19 |
|
- |
{ |
|
15 |
+ |
private static class NullIconServicePusher implements IconServicePusher { |
20 |
16 |
|
private static final NullIconServicePusher NULL = new NullIconServicePusher(); |
21 |
17 |
|
} |
22 |
18 |
|
} |