]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/core/test/context/ContextUtils.java
Make default execution ressources temp dir dependent of the JVM OS user, in order...
[gpl/argeo-slc.git] / runtime / org.argeo.slc.core / src / main / java / org / argeo / slc / core / test / context / ContextUtils.java
index ecaa7c3478746a762ce9fef2b1f092e6667eb4bf..0d4ab6034dab145f4fb739af67d1df33bbfb8fbb 100644 (file)
@@ -1,3 +1,18 @@
+/*\r
+ * Copyright (C) 2007-2012 Mathieu Baudier\r
+ *\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ *         http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
 package org.argeo.slc.core.test.context;\r
 \r
 import java.util.Map;\r
@@ -63,6 +78,7 @@ public class ContextUtils {
                }\r
        }\r
 \r
+       @SuppressWarnings("unchecked")\r
        private static void registerInStructure(TestResult testResult,\r
                        TreeSRelated treeSRelated, String key) {\r
                if (treeSRelated != null) {\r
@@ -83,6 +99,7 @@ public class ContextUtils {
                }\r
        }\r
 \r
+       @SuppressWarnings("unchecked")\r
        private static void resetStructure(TestResult testResult,\r
                        TreeSRelated treeSRelated) {\r
                if (treeSRelated != null) {\r
@@ -105,7 +122,7 @@ public class ContextUtils {
                                parent.getExpectedValues());\r
                synchronize(parent, expectedValuesCommon);\r
                if (log.isDebugEnabled())\r
-                       log.debug("Synchonized context " + parent);\r
+                       log.debug("Synchronized context " + parent);\r
 \r
        }\r
 \r