Andreas Wundsam | 5204de2 | 2013-07-30 11:34:45 -0700 | [diff] [blame] | 1 | |
2 | private ${msg.name}() {} | ||||
3 | |||||
4 | private final static class Holder { | ||||
5 | private static final ${msg.name} INSTANCE = new ${msg.name}(); | ||||
6 | } | ||||
7 | |||||
8 | public static ${msg.name} getInstance() { | ||||
9 | return Holder.INSTANCE; | ||||
10 | } |