Ignore:
Timestamp:
Sep 20, 2012, 3:42:26 PM (12 years ago)
Author:
casties
Branch:
default
Message:

adding and listing groups via html works now.
no editing of group membership yet.
no authentication yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/de/mpiwg/itgroup/annotations/restlet/AnnotatorResourceImpl.java

    r19 r22  
    6666
    6767    public String encodeJsonId(String id) {
     68        if (id == null) return null;
    6869        try {
    6970            return Base64.encodeBase64URLSafeString(id.getBytes("UTF-8"));
     
    7475
    7576    public String decodeJsonId(String id) {
     77        if (id == null) return null;
    7678        try {
    7779            return new String(Base64.decodeBase64(id), "UTF-8");
Note: See TracChangeset for help on using the changeset viewer.