You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by id...@apache.org on 2007/03/14 14:58:54 UTC

svn commit: r518144 - in /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago: component/UIPanel.java taglib/component/PanelTagDeclaration.java

Author: idus
Date: Wed Mar 14 06:58:53 2007
New Revision: 518144

URL: http://svn.apache.org/viewvc?view=rev&rev=518144
Log:
checkstyle errors

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPanel.java
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/PanelTagDeclaration.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPanel.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPanel.java?view=diff&rev=518144&r1=518143&r2=518144
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPanel.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPanel.java Wed Mar 14 06:58:53 2007
@@ -1,59 +1,59 @@
-package org.apache.myfaces.tobago.component;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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.
- */
-
-import javax.faces.context.FacesContext;
-
-/**
- * User: idus
- * Date: 12.03.2007
- * Time: 22:32:13
- */
-public class UIPanel extends UIPanelBase implements SupportsMarkup {
-
-  public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.Panel";
-
-  protected String[] markup;
-
-  public String[] getMarkup() {
-    if (markup != null) {
-      return markup;
-    }
-    return ComponentUtil.getMarkupBinding(getFacesContext(), this);
-  }
-
-  public void setMarkup(String[] markup) {
-    this.markup = markup;
-  }
-
-  @Override
-  public void restoreState(FacesContext context, Object state) {
-    Object[] values = (Object[]) state;
-    super.restoreState(context, values[0]);
-    markup = (String[]) values[1];
-   }
-
-  @Override
-  public Object saveState(FacesContext context) {
-    Object[] values  = new Object[2];
-    values[0] = super.saveState(context);
-    values[1] = markup;
-    return values;
-  }
-
-}
+package org.apache.myfaces.tobago.component;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+
+import javax.faces.context.FacesContext;
+
+/**
+ * User: idus
+ * Date: 12.03.2007
+ * Time: 22:32:13
+ */
+public class UIPanel extends UIPanelBase implements SupportsMarkup {
+
+  public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.Panel";
+
+  private String[] markup;
+
+  public String[] getMarkup() {
+    if (markup != null) {
+      return markup;
+    }
+    return ComponentUtil.getMarkupBinding(getFacesContext(), this);
+  }
+
+  public void setMarkup(String[] markup) {
+    this.markup = markup;
+  }
+
+  @Override
+  public void restoreState(FacesContext context, Object state) {
+    Object[] values = (Object[]) state;
+    super.restoreState(context, values[0]);
+    markup = (String[]) values[1];
+   }
+
+  @Override
+  public Object saveState(FacesContext context) {
+    Object[] values  = new Object[2];
+    values[0] = super.saveState(context);
+    values[1] = markup;
+    return values;
+  }
+
+}

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/PanelTagDeclaration.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/PanelTagDeclaration.java?view=diff&rev=518144&r1=518143&r2=518144
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/PanelTagDeclaration.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/PanelTagDeclaration.java Wed Mar 14 06:58:53 2007
@@ -17,7 +17,11 @@
  * limitations under the License.
  */
 
-import org.apache.myfaces.tobago.apt.annotation.*;
+import org.apache.myfaces.tobago.apt.annotation.Facet;
+import org.apache.myfaces.tobago.apt.annotation.Tag;
+import org.apache.myfaces.tobago.apt.annotation.TagAttribute;
+import org.apache.myfaces.tobago.apt.annotation.UIComponentTag;
+import org.apache.myfaces.tobago.apt.annotation.UIComponentTagAttribute;
 import org.apache.myfaces.tobago.taglib.decl.HasDeprecatedDimension;
 import org.apache.myfaces.tobago.taglib.decl.HasIdBindingAndRendered;