Пример #1
0
 public boolean has(final String bokType) {
   assert !Bok.SITE.equals(bokType) && !Bok.PROJECT.equals(bokType)
       : "ClientSession: use get methods instead";
   return byType.get(bokType) != null;
 }
Пример #2
0
 public Bok getProjectBok(final String bokType) {
   assert !Bok.SITE.equals(bokType) && !Bok.PROJECT.equals(bokType)
       : "ClientSession: use get methods instead";
   return byType.get(bokType);
 }