incubator-olio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r834661 - /incubator/olio/webapp/java/trunk/ws/apps/webapp/src/java/org/apache/olio/webapp/rest/UsersResource.java
Date Tue, 10 Nov 2009 20:53:08 GMT
Author: shanti
Date: Tue Nov 10 20:53:08 2009
New Revision: 834661

URL: http://svn.apache.org/viewvc?rev=834661&view=rev
Log:
Fixing minor type error. Also added Apache license.

Modified:
    incubator/olio/webapp/java/trunk/ws/apps/webapp/src/java/org/apache/olio/webapp/rest/UsersResource.java

Modified: incubator/olio/webapp/java/trunk/ws/apps/webapp/src/java/org/apache/olio/webapp/rest/UsersResource.java
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/java/trunk/ws/apps/webapp/src/java/org/apache/olio/webapp/rest/UsersResource.java?rev=834661&r1=834660&r2=834661&view=diff
==============================================================================
--- incubator/olio/webapp/java/trunk/ws/apps/webapp/src/java/org/apache/olio/webapp/rest/UsersResource.java
(original)
+++ incubator/olio/webapp/java/trunk/ws/apps/webapp/src/java/org/apache/olio/webapp/rest/UsersResource.java
Tue Nov 10 20:53:08 2009
@@ -1,8 +1,20 @@
 /*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
-
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */ 
 package org.apache.olio.webapp.rest;
 //for Jersey - JSR311 actions
 import java.util.Map;
@@ -171,7 +183,7 @@
         MultivaluedMap <String, String> mvMap = null;
         List<String> headerList = null;
 
-         Map<String,FormDataBodyPart> bodyList =multiPart.getFields();
+         Map<String,List<FormDataBodyPart>> bodyList = multiPart.getFields();
          for (String key:bodyList.keySet()){
              logger.finer("key is "+ key);
          }



Mime
View raw message