org/sonews/storage/Group.java
changeset 31 087ef6fe6a1a
parent 16 5a4a41cfc0a3
     1.1 --- a/org/sonews/storage/Group.java	Sun May 09 12:38:46 2010 +0200
     1.2 +++ b/org/sonews/storage/Group.java	Wed May 12 11:18:02 2010 +0200
     1.3 @@ -35,24 +35,6 @@
     1.4    private long   id     = 0;
     1.5    private int    flags  = -1;
     1.6    private String name   = null;
     1.7 -  
     1.8 -  /**
     1.9 -   * Returns a Group identified by its full name.
    1.10 -   * @param name
    1.11 -   * @return
    1.12 -   */
    1.13 -  public static Group getByName(final String name)
    1.14 -  {
    1.15 -    try
    1.16 -    {
    1.17 -      return StorageManager.current().getGroup(name);
    1.18 -    }
    1.19 -    catch(StorageBackendException ex)
    1.20 -    {
    1.21 -      ex.printStackTrace();
    1.22 -      return null;
    1.23 -    }
    1.24 -  }
    1.25  
    1.26    /**
    1.27     * @return List of all groups this server handles.