Clean up some SonarQube warnings (trailing whitespace, etc).
[platform/upstream/iotivity.git] / android / examples / simpleclient / src / main / java / org / iotivity / base / examples / simpleclient / Light.java
index 2f981b3..f09c39b 100644 (file)
@@ -1,65 +1,65 @@
-/*\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.simpleclient;\r
-\r
-/**\r
- * Light\r
- *\r
- * This class is used by simpleclient to create an object and update the values depending on the server response\r
- */\r
-public class Light {\r
-    private boolean mState;\r
-    private int mPower;\r
-    private String mName;\r
-\r
-    // constructor\r
-    Light() {\r
-        mState = false;\r
-        mPower = 0;\r
-        mName = "";\r
-    }\r
-\r
-    // accessor methods\r
-    public boolean getState() {\r
-        return mState;\r
-    }\r
-    void setState(boolean state) {\r
-        mState = state;\r
-    }\r
-    int getPower() {\r
-        return mPower;\r
-    }\r
-    void setPower(int power) {\r
-        mPower = power;\r
-    }\r
-    String getName() {\r
-        return mName;\r
-    }\r
-    void setName(String name) {\r
-        mName = name;\r
-    }\r
-}\r
-\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.simpleclient;
+
+/**
+ * Light
+ *
+ * This class is used by simpleclient to create an object and update the values depending on the server response
+ */
+public class Light {
+    private boolean mState;
+    private int mPower;
+    private String mName;
+
+    // constructor
+    Light() {
+        mState = false;
+        mPower = 0;
+        mName = "";
+    }
+
+    // accessor methods
+    public boolean getState() {
+        return mState;
+    }
+    void setState(boolean state) {
+        mState = state;
+    }
+    int getPower() {
+        return mPower;
+    }
+    void setPower(int power) {
+        mPower = power;
+    }
+    String getName() {
+        return mName;
+    }
+    void setName(String name) {
+        mName = name;
+    }
+}
+
+
+
+