Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/ebiconservice/server/IconServicePusherLocator.java

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