You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2018/01/17 15:13:11 UTC
[myfaces-tobago] branch master updated: code style: remove trailing
spaces
This is an automated email from the ASF dual-hosted git repository.
lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/master by this push:
new dbfa518 code style: remove trailing spaces
dbfa518 is described below
commit dbfa518f4a3600a887a796ad747c83683733162b
Author: Udo Schnurpfeil <lo...@apache.org>
AuthorDate: Wed Jan 17 13:23:59 2018 +0100
code style: remove trailing spaces
---
.../apache/myfaces/tobago/event/TabChangeEvent.java | 2 +-
.../apache/myfaces/tobago/internal/layout/Grid.java | 2 +-
.../taglib/component/TabGroupTagDeclaration.java | 2 +-
.../taglib/component/TreeTagDeclaration.java | 2 +-
.../apache/myfaces/tobago/layout/Orientation.java | 2 +-
.../apache/myfaces/tobago/layout/PixelMeasure.java | 10 +++++++---
.../org/apache/myfaces/tobago/util/LocaleUtils.java | 4 ++--
.../validator/ClearValidatorsActionListener.java | 7 +++----
.../myfaces/tobago/webapp/SecretSessionListener.java | 2 +-
.../myfaces/tobago/webapp/TobagoResponseWriter.java | 20 ++++++++++----------
.../tobago/webapp/TobagoServletContextListener.java | 2 +-
.../myfaces/tobago/component/SorterUnitTest.java | 4 ++--
.../myfaces/tobago/component/UISheetUnitTest.java | 4 ++--
.../tobago/example/demo/PartialReloadController.java | 2 +-
.../myfaces/tobago/example/test/Attribute.java | 2 +-
.../myfaces/tobago/example/test/Immediate.java | 16 ++++++++--------
.../tobago/example/test/InputSuggestController.java | 1 -
.../myfaces/tobago/example/test/MeasureBean.java | 2 +-
.../apache/myfaces/tobago/example/test/Reload.java | 4 ++--
.../example/test/SelectBooleanCheckboxBean.java | 2 +-
.../tobago/example/test/SheetSortController.java | 4 ++--
.../myfaces/tobago/example/test/TreeController.java | 2 +-
.../apache/myfaces/tobago/example/test/Upload.java | 2 +-
.../tobago/apt/annotation/DynamicExpression.java | 2 +-
.../apache/myfaces/tobago/apt/annotation/Tag.java | 3 +--
25 files changed, 53 insertions(+), 52 deletions(-)
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/event/TabChangeEvent.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/event/TabChangeEvent.java
index 62f99c9..a3ae16e 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/event/TabChangeEvent.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/event/TabChangeEvent.java
@@ -35,7 +35,7 @@ public class TabChangeEvent extends ActionEvent {
this.oldTabIndex = oldTabIndex;
this.newTabIndex = newTabIndex;
}
-
+
/**
* @deprecated Please use {@link #TabChangeEvent(UIComponent, Integer, Integer)}
*/
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/layout/Grid.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/layout/Grid.java
index 6f7791b..87b5385 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/layout/Grid.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/layout/Grid.java
@@ -153,7 +153,7 @@ public class Grid {
}
private void enlarge(final int newRows) {
-
+
// process cells
for (int i = 0; i < newRows; i++) {
for (int j = 0; j < columnCount; j++) {
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/TabGroupTagDeclaration.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/TabGroupTagDeclaration.java
index cf63a5c..bfc9a6e 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/TabGroupTagDeclaration.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/TabGroupTagDeclaration.java
@@ -105,7 +105,7 @@ public interface TabGroupTagDeclaration
@UIComponentTagAttribute(type = "java.lang.Integer", defaultValue = "0")
void setRenderedIndex(String renderedIndex);
- @TagAttribute
+ @TagAttribute
@UIComponentTagAttribute(
type = {},
expression = DynamicExpression.METHOD_EXPRESSION_REQUIRED,
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/TreeTagDeclaration.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/TreeTagDeclaration.java
index 89af4b5..ef6ddbb 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/TreeTagDeclaration.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/TreeTagDeclaration.java
@@ -37,7 +37,7 @@ import org.apache.myfaces.tobago.model.Selectable;
import javax.faces.component.UIData;
/**
- * A tree with classical look.
+ * A tree with classical look.
* Usually used with icons and junction lines to open folder, etc.
*/
@Tag(name = "tree")
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/Orientation.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/Orientation.java
index 6500b7d..9f76d13 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/Orientation.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/Orientation.java
@@ -23,7 +23,7 @@ package org.apache.myfaces.tobago.layout;
* Layout relevant values for the orientation.
*/
public enum Orientation {
-
+
horizontal,
vertical;
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/PixelMeasure.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/PixelMeasure.java
index 33169cc..4181f72 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/PixelMeasure.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/layout/PixelMeasure.java
@@ -22,20 +22,24 @@ package org.apache.myfaces.tobago.layout;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+/**
+ * @deprecated since 4.1.0, please use {@link Measure}
+ */
+@Deprecated
public final class PixelMeasure /*extends Measure*/ {
private static final Logger LOG = LoggerFactory.getLogger(PixelMeasure.class);
static final PixelMeasure[] PIXEL_CACHE;
static final int PIXEL_CACHE_MAX = 4000;
-
+
static {
PIXEL_CACHE = new PixelMeasure[PIXEL_CACHE_MAX + 1];
for (int i = 0; i < PIXEL_CACHE.length; i++) {
PIXEL_CACHE[i] = new PixelMeasure(i);
}
}
-
+
private final int pixel;
private PixelMeasure(final int pixel) {
@@ -48,7 +52,7 @@ public final class PixelMeasure /*extends Measure*/ {
}
return new PixelMeasure(value);
}
-
+
public int getPixel() {
return pixel;
}
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/util/LocaleUtils.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/util/LocaleUtils.java
index 9dcfa89..db97b60 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/util/LocaleUtils.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/util/LocaleUtils.java
@@ -70,7 +70,7 @@ public final class LocaleUtils {
/**
* Returns a list of strings, which are used as suffix for resources from resource manager.
- *
+ * <p>
* Sample: "de_DE" -> "_de_DE", "_de", ""
*/
public static List<String> getLocaleSuffixList(final Locale locale) {
@@ -78,7 +78,7 @@ public final class LocaleUtils {
if (locale == null) {
return Arrays.asList("");
}
-
+
String string = locale.toString();
final String prefix = "_";
final List<String> locales = new ArrayList<>(4);
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/validator/ClearValidatorsActionListener.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/validator/ClearValidatorsActionListener.java
index dcc3e32..553e2c8 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/validator/ClearValidatorsActionListener.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/validator/ClearValidatorsActionListener.java
@@ -54,9 +54,8 @@ public class ClearValidatorsActionListener implements ActionListener {
// FIXME: finding mechanism??? JSF ???
- for (final StringTokenizer tokenizer
- = new StringTokenizer(clearValidatorsFieldIds, ",");
- tokenizer.hasMoreTokens();) {
+ final StringTokenizer tokenizer = new StringTokenizer(clearValidatorsFieldIds, ",");
+ while (tokenizer.hasMoreTokens()) {
final String clearValidatorsFieldId = tokenizer.nextToken();
UIComponent component = source.findComponent(clearValidatorsFieldId);
@@ -72,7 +71,7 @@ public class ClearValidatorsActionListener implements ActionListener {
component = facesContext.getViewRoot().findComponent(clearValidatorsFieldId);
}
- if (component == null) { // not found
+ if (component == null) { // not found
LOG.warn("Component not found.");
} else {
// component.clearValidators();
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/webapp/SecretSessionListener.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/webapp/SecretSessionListener.java
index ee557c0..9c57c8a 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/webapp/SecretSessionListener.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/webapp/SecretSessionListener.java
@@ -28,7 +28,7 @@ public class SecretSessionListener implements HttpSessionListener {
@Override
public void sessionCreated(final HttpSessionEvent sessionEvent) {
- // a session creation may happen outside from JSF
+ // a session creation may happen outside from JSFTreeTagDeclaration.java
if (TobagoConfig.getInstance(sessionEvent.getSession().getServletContext()).isCreateSessionSecret()) {
Secret.create(sessionEvent.getSession());
}
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriter.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriter.java
index 7b8d979..408db2a 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriter.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriter.java
@@ -37,10 +37,8 @@ import java.io.IOException;
import java.io.Writer;
/**
- * <p>
- * This provides an alternative ResponseWriter interfaces, which allows optimizations.
- * E. g. some attributes needed to to be escaped.
- * </p>
+ * <p> This provides an alternative ResponseWriter interfaces, which allows optimizations. E. g. some attributes needed
+ * to to be escaped. </p>
*/
public abstract class TobagoResponseWriter extends ResponseWriter {
@@ -63,7 +61,7 @@ public abstract class TobagoResponseWriter extends ResponseWriter {
@Deprecated
@Override
public abstract void endElement(String name) throws IOException;
-
+
public abstract void endElement(HtmlElements name) throws IOException;
@Override
@@ -102,8 +100,8 @@ public abstract class TobagoResponseWriter extends ResponseWriter {
// others (not from ResponseWriter)
/**
- * Writes a string attribute. The renderer may set escape=false to switch of escaping of the string,
- * if it is not necessary.
+ * Writes a string attribute. The renderer may set escape=false to switch of escaping of the string, if it is not
+ * necessary.
*/
public abstract void writeAttribute(MarkupLanguageAttributes name, String string, boolean escape) throws IOException;
@@ -175,7 +173,7 @@ public abstract class TobagoResponseWriter extends ResponseWriter {
* Write the class attribute. The value will not escaped.
*/
public void writeClassAttribute(final CssItem first, final CssItem[] second, final CssItem[] third,
- final CssItem... fourth) throws IOException {
+ final CssItem... fourth) throws IOException {
writeClassAttribute(first, second, third, null, null, fourth);
}
@@ -183,12 +181,13 @@ public abstract class TobagoResponseWriter extends ResponseWriter {
* Write the class attribute. The value will not escaped.
*/
public void writeClassAttribute(final CssItem first, final CssItem[] second, final CssItem[] third,
- final CssItem[] fourth, final CssItem... fifth) throws IOException {
+ final CssItem[] fourth, final CssItem... fifth) throws IOException {
writeClassAttribute(first, second, third, fourth, null, fifth);
}
public void writeClassAttribute(final CssItem first, final CssItem[] second, final CssItem[] third,
- final CssItem[] fourth, final CssItem[] fifth, final CssItem... sixth) throws IOException {
+ final CssItem[] fourth, final CssItem[] fifth, final CssItem... sixth)
+ throws IOException {
final StringBuilder builder = new StringBuilder();
boolean render = false;
if (first != null) {
@@ -230,6 +229,7 @@ public abstract class TobagoResponseWriter extends ResponseWriter {
/**
* Write the style attribute. The value may be escaped (depending of the content).
+ *
* @deprecated since 4.0.0. UIStyle now renders itself.
*/
@Deprecated
diff --git a/tobago-core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoServletContextListener.java b/tobago-core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoServletContextListener.java
index d7cb9a0..ef134e2 100644
--- a/tobago-core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoServletContextListener.java
+++ b/tobago-core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoServletContextListener.java
@@ -48,7 +48,7 @@ public class TobagoServletContextListener implements ServletContextListener {
} else {
TobagoConfigBuilder.init(servletContext);
}
-
+
if (LOG.isInfoEnabled()) {
final TobagoConfig tobagoConfig = TobagoConfig.getInstance(servletContext);
LOG.info("TobagoConfig: " + tobagoConfig);
diff --git a/tobago-core/src/test/java/org/apache/myfaces/tobago/component/SorterUnitTest.java b/tobago-core/src/test/java/org/apache/myfaces/tobago/component/SorterUnitTest.java
index f547ab6..bc25c27 100644
--- a/tobago-core/src/test/java/org/apache/myfaces/tobago/component/SorterUnitTest.java
+++ b/tobago-core/src/test/java/org/apache/myfaces/tobago/component/SorterUnitTest.java
@@ -34,7 +34,7 @@ public class SorterUnitTest extends AbstractTobagoTestBase {
final UISheet sheet = new UISheet();
final UIColumn column = new UIColumn();
sheet.getChildren().add(column);
-
+
final Sorter sorter = new Sorter();
final SortActionEvent sortActionEvent = new SortActionEvent(sheet, column);
sorter.perform(sortActionEvent);
@@ -47,7 +47,7 @@ public class SorterUnitTest extends AbstractTobagoTestBase {
column.getChildren().add(link);
sorter.perform(sortActionEvent);
-
+
link.setValueExpression(Attributes.label.getName(),
new MockValueExpression("var.test", String.class));
diff --git a/tobago-core/src/test/java/org/apache/myfaces/tobago/component/UISheetUnitTest.java b/tobago-core/src/test/java/org/apache/myfaces/tobago/component/UISheetUnitTest.java
index 1362e71..088ec1f 100644
--- a/tobago-core/src/test/java/org/apache/myfaces/tobago/component/UISheetUnitTest.java
+++ b/tobago-core/src/test/java/org/apache/myfaces/tobago/component/UISheetUnitTest.java
@@ -49,7 +49,7 @@ public class UISheetUnitTest extends AbstractTobagoTestBase {
unknown = new UISheet();
unknown.setValue(new DataModelWithUnknownRows(nineRows));
}
-
+
@Test
public void test5RowsPerPage() {
data.setRows(5);
@@ -400,5 +400,5 @@ public class UISheetUnitTest extends AbstractTobagoTestBase {
return -1;
}
}
-
+
}
diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/PartialReloadController.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/PartialReloadController.java
index 9aa18f9..0412ac7 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/PartialReloadController.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/PartialReloadController.java
@@ -54,7 +54,7 @@ public class PartialReloadController {
public String error() {
throw new DemoException("Test Exception");
}
-
+
public String waitAndReload3() {
return waitAndReload(3000);
}
diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/Attribute.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/Attribute.java
index 1c393a0..d63c997 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/Attribute.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/Attribute.java
@@ -49,7 +49,7 @@ public class Attribute implements Serializable {
public void setCondition(final boolean condition) {
this.condition = condition;
}
-
+
public String getValue() {
return "value from model";
}
diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/Immediate.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/Immediate.java
index c46ee05..e3e4b7e 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/Immediate.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/Immediate.java
@@ -32,13 +32,13 @@ public class Immediate implements Serializable {
private int selectOne;
private Integer[] selectMany;
- private SelectItem[] selectItems = new SelectItem[] {
- new SelectItem(0, "Zero"),
- new SelectItem(1, "One"),
- new SelectItem(2, "Two"),
- new SelectItem(3, "Tree"),
- new SelectItem(4, "Four"),
- };
+ private SelectItem[] selectItems = new SelectItem[]{
+ new SelectItem(0, "Zero"),
+ new SelectItem(1, "One"),
+ new SelectItem(2, "Two"),
+ new SelectItem(3, "Tree"),
+ new SelectItem(4, "Four"),
+ };
private static final Logger LOG = LoggerFactory.getLogger(Immediate.class);
@@ -49,7 +49,7 @@ public class Immediate implements Serializable {
LOG.warn("sess: " + facesContext.getExternalContext().getSessionMap().hashCode());
return null;
}
-
+
public String getIn() {
return in;
}
diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/InputSuggestController.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/InputSuggestController.java
index 80bc4d3..c99e56a 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/InputSuggestController.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/InputSuggestController.java
@@ -44,5 +44,4 @@ public class InputSuggestController implements Serializable {
li.add(prefix + 6);
return li;
}
-
}
diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/MeasureBean.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/MeasureBean.java
index d5b5bd1..bb1dded 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/MeasureBean.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/MeasureBean.java
@@ -80,7 +80,7 @@ public class MeasureBean {
}
public static class Any {
-
+
private String value;
public Any(final String value) {
diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/Reload.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/Reload.java
index e3e7c2e..4361866 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/Reload.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/Reload.java
@@ -22,14 +22,14 @@ package org.apache.myfaces.tobago.example.test;
import java.io.Serializable;
public class Reload implements Serializable {
-
+
private int counter;
public boolean isReload() {
counter++;
return true;
}
-
+
public String tick() {
counter++;
return null;
diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/SelectBooleanCheckboxBean.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/SelectBooleanCheckboxBean.java
index ce259c0..4683baf 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/SelectBooleanCheckboxBean.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/SelectBooleanCheckboxBean.java
@@ -22,7 +22,7 @@ package org.apache.myfaces.tobago.example.test;
import java.io.Serializable;
public class SelectBooleanCheckboxBean implements Serializable {
-
+
private boolean value00 = true;
private boolean value01 = true;
private boolean value02 = true;
diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/SheetSortController.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/SheetSortController.java
index 8183277..096e8ce 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/SheetSortController.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/SheetSortController.java
@@ -53,7 +53,7 @@ public class SheetSortController implements Serializable {
}
public static final class Entry {
-
+
private String first;
private String second;
private String third;
@@ -82,7 +82,7 @@ public class SheetSortController implements Serializable {
i++;
this.sixth = "" + upper(i) + lower(i) + lower(i) + lower(i) + lower(i);
}
-
+
private char upper(final int i) {
return (char) (i % 26 + 'A');
}
diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/TreeController.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/TreeController.java
index 1c79f76..6f53a9e 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/TreeController.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/TreeController.java
@@ -36,7 +36,7 @@ public class TreeController implements Serializable {
private DefaultMutableTreeNode tree = CategoryTree.createSample();
private DefaultMutableTreeNode small = SmallTree.createSample();
-
+
private TreeState state = new TreeState(new ExpandedState(1), new SelectedState());
private TreeDataModel treeInSheet = new TreeNodeDataModel(tree, false, state.getExpandedState());
diff --git a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/Upload.java b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/Upload.java
index a4c9374..443c113 100644
--- a/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/Upload.java
+++ b/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/test/Upload.java
@@ -49,7 +49,7 @@ public class Upload implements Serializable {
return "/test/file/file.xhtml";
}
-
+
public Part getFile() {
return part;
}
diff --git a/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/DynamicExpression.java b/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/DynamicExpression.java
index c77c474..fbe0cbd 100644
--- a/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/DynamicExpression.java
+++ b/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/DynamicExpression.java
@@ -78,7 +78,7 @@ public enum DynamicExpression {
case PROHIBITED:
return "PROHIBITED";
default:
- throw new IllegalStateException("Unexpected DynamicExpression " + name());
+ throw new IllegalStateException("Unexpected DynamicExpression " + name());
}
}
diff --git a/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/Tag.java b/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/Tag.java
index 17aeb53..3331161 100644
--- a/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/Tag.java
+++ b/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/Tag.java
@@ -38,7 +38,6 @@ public @interface Tag {
String deprecatedName() default "";
- boolean isBodyTag() default false;
+ boolean isBodyTag() default false;
}
-
--
To stop receiving notification emails like this one, please contact
['"commits@myfaces.apache.org" <co...@myfaces.apache.org>'].