Simulator Java Code compliant to openjdk1.6 version.
authoruzchoi <uzchoi@samsung.com>
Mon, 12 Oct 2015 08:23:11 +0000 (17:23 +0900)
committerUze Choi <uzchoi@samsung.com>
Tue, 13 Oct 2015 09:35:07 +0000 (09:35 +0000)
Change-Id: Ie46ffbee4eaba37eeca703073fe1129e743303df
Signed-off-by: uzchoi <uzchoi@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/3845
Reviewed-by: RadhaBhavani <radha.p@samsung.com>
service/simulator/java/eclipse-plugin/ClientControllerPlugin/src/oic/simulator/clientcontroller/view/dialogs/PostRequestDialog.java
service/simulator/java/eclipse-plugin/ServiceProviderPlugin/src/oic/simulator/serviceprovider/manager/ResourceManager.java
service/simulator/java/eclipse-plugin/ServiceProviderPlugin/src/oic/simulator/serviceprovider/resource/StandardConfiguration.java

index 3b01cffe5a3196fbe1ca469fc9f5a9cf830b27be..02a42a5e65abc5f8278b80bee9f0378d8638cc53 100644 (file)
@@ -275,7 +275,7 @@ public class PostRequestDialog extends TitleAreaDialog {
         @Override
         protected void setValue(Object element, Object value) {
             PutPostAttributeModel model = (PutPostAttributeModel) element;
-            boolean status = (boolean) value;
+            boolean status = (Boolean) value;
             model.setModified(status);
             viewer.update(element, null);
         }
index 4a3035c86216877e828e68b11cd0883a68ef15a5..974a87f7c92a712f140e70f928a98853c537af46 100644 (file)
@@ -78,9 +78,12 @@ public class StandardConfiguration {
                     stdConfigFiles.put(relPath, absPath);
                     System.out.println("File path:" + absPath);
                 }
-            } catch (URISyntaxException | IOException e) {
+            } catch (URISyntaxException e) {
                 Activator.getDefault().getLogManager()
                         .log(Level.ERROR.ordinal(), new Date(), e.getMessage());
+            } catch (IOException e) {
+                Activator.getDefault().getLogManager()
+                .log(Level.ERROR.ordinal(), new Date(), e.getMessage());
             }
         }
     }