James Moger
2013-02-25 64b6f382d35e1fea0172b222277dae0312f274e4
src/com/gitblit/ConfigUserService.java
@@ -20,6 +20,7 @@
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
@@ -286,7 +287,7 @@
    * @since 1.2.0
    */
   @Override
   public boolean updateUserModels(List<UserModel> models) {
   public boolean updateUserModels(Collection<UserModel> models) {
      try {
         read();
         for (UserModel model : models) {
@@ -566,7 +567,7 @@
    * @since 1.2.0
    */
   @Override
   public boolean updateTeamModels(List<TeamModel> models) {
   public boolean updateTeamModels(Collection<TeamModel> models) {
      try {
         read();
         for (TeamModel team : models) {
@@ -808,7 +809,6 @@
   /**
    * Writes the properties file.
    * 
    * @param properties
    * @throws IOException
    */
   private synchronized void write() throws IOException {