Exemplo n.º 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;
 }
Exemplo n.º 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);
 }