]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.databoard/src/org/simantics/databoard/binding/impl/BooleanBindingDefault.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.databoard / src / org / simantics / databoard / binding / impl / BooleanBindingDefault.java
index 1bc972a0bd1fc700b111b72f1de3b3a0c970c9bf..dcf62cd3204597dd0ffa93464db5ae18dbe67a59 100644 (file)
@@ -1,20 +1,20 @@
-/*******************************************************************************\r
- *  Copyright (c) 2010 Association for Decentralized Information Management in\r
- *  Industry THTH ry.\r
- *  All rights reserved. This program and the accompanying materials\r
- *  are made available under the terms of the Eclipse Public License v1.0\r
- *  which accompanies this distribution, and is available at\r
- *  http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- *  Contributors:\r
- *      VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
+/*******************************************************************************
+ *  Copyright (c) 2010 Association for Decentralized Information Management in
+ *  Industry THTH ry.
+ *  All rights reserved. This program and the accompanying materials
+ *  are made available under the terms of the Eclipse Public License v1.0
+ *  which accompanies this distribution, and is available at
+ *  http://www.eclipse.org/legal/epl-v10.html
+ *
+ *  Contributors:
+ *      VTT Technical Research Centre of Finland - initial API and implementation
+ *******************************************************************************/
 package org.simantics.databoard.binding.impl;
 
-import org.simantics.databoard.binding.BooleanBinding;\r
-import org.simantics.databoard.binding.error.BindingException;\r
-import org.simantics.databoard.binding.error.UnsupportedOperationException;\r
-import org.simantics.databoard.type.BooleanType;\r
+import org.simantics.databoard.binding.BooleanBinding;
+import org.simantics.databoard.binding.error.BindingException;
+import org.simantics.databoard.binding.error.UnsupportedOperationException;
+import org.simantics.databoard.type.BooleanType;
 
 /**
  * Binds Boolean Type to java.lang.Boolean-class. 
@@ -35,7 +35,7 @@ public class BooleanBindingDefault extends BooleanBinding {
        public Object create(Boolean value) 
        {
                return value;
-       }\r
+       }
 
        public void setValue(Object obj, Boolean newValue) 
        throws BindingException
@@ -45,7 +45,7 @@ public class BooleanBindingDefault extends BooleanBinding {
        
        public void setValue(Object obj, boolean newValue) 
        throws BindingException
-       {\r
+       {
                if (((Boolean)obj).booleanValue() == newValue) return;
                throw new UnsupportedOperationException("Cannot change the value of immutable java.lang.Boolean");
        }