Clean up some SonarQube warnings (trailing whitespace, etc).
[platform/upstream/iotivity.git] / android / examples / fridgeserver / src / main / java / org / iotivity / base / examples / fridgeserver / Refrigerator.java
index 4432755..66f0e0b 100644 (file)
@@ -1,57 +1,57 @@
-/*\r
- * //******************************************************************\r
- * //\r
- * // Copyright 2015 Intel Corporation.\r
- * //\r
- * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\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
- * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\r
- */\r
-\r
-package org.iotivity.base.examples.fridgeserver;\r
-\r
-import android.content.Context;\r
-\r
-/**\r
- * Refrigerator\r
- * <p/>\r
- * Refrigerator class has different objects (resources) which are instantiated when a\r
- * Refrigerator object is created. Operations are performed on each of the individual resources.\r
- */\r
-public class Refrigerator {\r
-    private Context mContext;\r
-\r
-    private LightResource mLight;\r
-    private DeviceResource mDevice;\r
-    private DoorResource mLeftDoor;\r
-    private DoorResource mRightDoor;\r
-    private DoorResource mRandomDoor;\r
-\r
-    /**\r
-     * constructor\r
-     *\r
-     * @param context needed by individual resources to be able to send broadcast\r
-     *                messages to be displayed on the user screen\r
-     */\r
-    Refrigerator(Context context) {\r
-        mContext = context;\r
-        mLight = new LightResource(context);\r
-        mDevice = new DeviceResource(context);\r
-        mLeftDoor = new DoorResource(StringConstants.LEFT, context);\r
-        mRightDoor = new DoorResource(StringConstants.RIGHT, context);\r
-        mRandomDoor = new DoorResource(StringConstants.RANDOM, context);\r
-    }\r
-\r
-}\r
+/*
+ * //******************************************************************
+ * //
+ * // Copyright 2015 Intel Corporation.
+ * //
+ * //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
+ * //
+ * // Licensed 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.iotivity.base.examples.fridgeserver;
+
+import android.content.Context;
+
+/**
+ * Refrigerator
+ * <p/>
+ * Refrigerator class has different objects (resources) which are instantiated when a
+ * Refrigerator object is created. Operations are performed on each of the individual resources.
+ */
+public class Refrigerator {
+    private Context mContext;
+
+    private LightResource mLight;
+    private DeviceResource mDevice;
+    private DoorResource mLeftDoor;
+    private DoorResource mRightDoor;
+    private DoorResource mRandomDoor;
+
+    /**
+     * constructor
+     *
+     * @param context needed by individual resources to be able to send broadcast
+     *                messages to be displayed on the user screen
+     */
+    Refrigerator(Context context) {
+        mContext = context;
+        mLight = new LightResource(context);
+        mDevice = new DeviceResource(context);
+        mLeftDoor = new DoorResource(StringConstants.LEFT, context);
+        mRightDoor = new DoorResource(StringConstants.RIGHT, context);
+        mRandomDoor = new DoorResource(StringConstants.RANDOM, context);
+    }
+
+}