Modified: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/ExpansionPageElement.java
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/ExpansionPageElement.java?rev=753423&r1=753422&r2=753423&view=diff
==============================================================================
--- 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/ExpansionPageElement.java
 (original)
+++ 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/ExpansionPageElement.java
 Fri Mar 13 21:19:12 2009
@@ -1,61 +1,61 @@
-// Copyright 2006, 2008 The Apache Software Foundation
-//
-// 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.apache.tapestry5.internal.structure;
-
-import org.apache.tapestry5.Binding;
-import org.apache.tapestry5.MarkupWriter;
-import org.apache.tapestry5.ioc.services.TypeCoercer;
-import org.apache.tapestry5.runtime.RenderCommand;
-import org.apache.tapestry5.runtime.RenderQueue;
-
-public class ExpansionPageElement implements RenderCommand
-{
-    private final Binding binding;
-
-    private final boolean invariant;
-
-    private final TypeCoercer coercer;
-
-    private boolean cached;
-
-    private String cachedValue;
-
-    public ExpansionPageElement(Binding binding, TypeCoercer coercer)
-    {
-        this.binding = binding;
-        this.coercer = coercer;
-
-        invariant = this.binding.isInvariant();
-    }
-
-    public void render(MarkupWriter writer, RenderQueue queue)
-    {
-        String value = cached ? cachedValue : coercer.coerce(binding.get(), 
String.class);
-
-        if (invariant && !cached)
-        {
-            cachedValue = value;
-            cached = true;
-        }
-
-        writer.write(value);
-    }
-
-    @Override
-    public String toString()
-    {
-        return String.format("Expansion[%s]", binding.toString());
-    }
-}
+// Copyright 2006, 2008 The Apache Software Foundation
+//
+// 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.apache.tapestry5.internal.structure;
+
+import org.apache.tapestry5.Binding;
+import org.apache.tapestry5.MarkupWriter;
+import org.apache.tapestry5.ioc.services.TypeCoercer;
+import org.apache.tapestry5.runtime.RenderCommand;
+import org.apache.tapestry5.runtime.RenderQueue;
+
+public class ExpansionPageElement implements RenderCommand
+{
+    private final Binding binding;
+
+    private final boolean invariant;
+
+    private final TypeCoercer coercer;
+
+    private boolean cached;
+
+    private String cachedValue;
+
+    public ExpansionPageElement(Binding binding, TypeCoercer coercer)
+    {
+        this.binding = binding;
+        this.coercer = coercer;
+
+        invariant = this.binding.isInvariant();
+    }
+
+    public void render(MarkupWriter writer, RenderQueue queue)
+    {
+        String value = cached ? cachedValue : coercer.coerce(binding.get(), 
String.class);
+
+        if (invariant && !cached)
+        {
+            cachedValue = value;
+            cached = true;
+        }
+
+        writer.write(value);
+    }
+
+    @Override
+    public String toString()
+    {
+        return String.format("Expansion[%s]", binding.toString());
+    }
+}

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/ExpansionPageElement.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/InternalComponentResourcesImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/LifecycleNotificationComponentCallback.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/Page.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/PageImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/RenderPhaseEventHandler.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/StartElementPageElement.java
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/StartElementPageElement.java?rev=753423&r1=753422&r2=753423&view=diff
==============================================================================
--- 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/StartElementPageElement.java
 (original)
+++ 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/StartElementPageElement.java
 Fri Mar 13 21:19:12 2009
@@ -1,44 +1,44 @@
-// Copyright 2006, 2008 The Apache Software Foundation
-//
-// 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.apache.tapestry5.internal.structure;
-
-import org.apache.tapestry5.MarkupWriter;
-import org.apache.tapestry5.runtime.RenderCommand;
-import org.apache.tapestry5.runtime.RenderQueue;
-
-public class StartElementPageElement implements RenderCommand
-{
-    private final String namespaceURI;
-
-    private final String name;
-
-    public StartElementPageElement(String namespaceURI, String name)
-    {
-        this.namespaceURI = namespaceURI;
-
-        this.name = name;
-    }
-
-    public void render(MarkupWriter writer, RenderQueue queue)
-    {
-        writer.elementNS(namespaceURI, name);
-    }
-
-    @Override
-    public String toString()
-    {
-        return String.format("Start[%s %s]", namespaceURI, name);
-    }
-}
+// Copyright 2006, 2008 The Apache Software Foundation
+//
+// 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.apache.tapestry5.internal.structure;
+
+import org.apache.tapestry5.MarkupWriter;
+import org.apache.tapestry5.runtime.RenderCommand;
+import org.apache.tapestry5.runtime.RenderQueue;
+
+public class StartElementPageElement implements RenderCommand
+{
+    private final String namespaceURI;
+
+    private final String name;
+
+    public StartElementPageElement(String namespaceURI, String name)
+    {
+        this.namespaceURI = namespaceURI;
+
+        this.name = name;
+    }
+
+    public void render(MarkupWriter writer, RenderQueue queue)
+    {
+        writer.elementNS(namespaceURI, name);
+    }
+
+    @Override
+    public String toString()
+    {
+        return String.format("Start[%s %s]", namespaceURI, name);
+    }
+}

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/StartElementPageElement.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/StructureMessages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/TextPageElement.java
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/TextPageElement.java?rev=753423&r1=753422&r2=753423&view=diff
==============================================================================
--- 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/TextPageElement.java
 (original)
+++ 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/TextPageElement.java
 Fri Mar 13 21:19:12 2009
@@ -1,40 +1,40 @@
-// Copyright 2006, 2008 The Apache Software Foundation
-//
-// 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.apache.tapestry5.internal.structure;
-
-import org.apache.tapestry5.MarkupWriter;
-import org.apache.tapestry5.runtime.RenderCommand;
-import org.apache.tapestry5.runtime.RenderQueue;
-
-public class TextPageElement implements RenderCommand
-{
-    private final String text;
-
-    public TextPageElement(String text)
-    {
-        this.text = text;
-    }
-
-    public void render(MarkupWriter writer, RenderQueue queue)
-    {
-        writer.write(text);
-    }
-
-    @Override
-    public String toString()
-    {
-        return String.format("Text[%s]", text);
-    }
-}
+// Copyright 2006, 2008 The Apache Software Foundation
+//
+// 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.apache.tapestry5.internal.structure;
+
+import org.apache.tapestry5.MarkupWriter;
+import org.apache.tapestry5.runtime.RenderCommand;
+import org.apache.tapestry5.runtime.RenderQueue;
+
+public class TextPageElement implements RenderCommand
+{
+    private final String text;
+
+    public TextPageElement(String text)
+    {
+        this.text = text;
+    }
+
+    public void render(MarkupWriter writer, RenderQueue queue)
+    {
+        writer.write(text);
+    }
+
+    @Override
+    public String toString()
+    {
+        return String.format("Text[%s]", text);
+    }
+}

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/structure/TextPageElement.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/AutofocusValidationDecorator.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/Base64InputStream.java
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/Base64InputStream.java?rev=753423&r1=753422&r2=753423&view=diff
==============================================================================
--- 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/Base64InputStream.java
 (original)
+++ 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/Base64InputStream.java
 Fri Mar 13 21:19:12 2009
@@ -1,38 +1,38 @@
-// Copyright 2006 The Apache Software Foundation
-//
-// 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.apache.tapestry5.internal.util;
-
-import org.apache.commons.codec.binary.Base64;
-
-import java.io.ByteArrayInputStream;
-
-/**
- * An extension of {...@link ByteArrayInputStream} that is initialized from a 
Base64 input stream (rather than from a byte
- * array).
- */
-public class Base64InputStream extends ByteArrayInputStream
-{
-    public Base64InputStream(String base64)
-    {
-        super(decode(base64));
-    }
-
-    private static byte[] decode(String base64)
-    {
-        byte[] array = base64.getBytes();
-
-        return Base64.decodeBase64(array);
-    }
-}
+// Copyright 2006 The Apache Software Foundation
+//
+// 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.apache.tapestry5.internal.util;
+
+import org.apache.commons.codec.binary.Base64;
+
+import java.io.ByteArrayInputStream;
+
+/**
+ * An extension of {...@link ByteArrayInputStream} that is initialized from a 
Base64 input stream (rather than from a byte
+ * array).
+ */
+public class Base64InputStream extends ByteArrayInputStream
+{
+    public Base64InputStream(String base64)
+    {
+        super(decode(base64));
+    }
+
+    private static byte[] decode(String base64)
+    {
+        byte[] array = base64.getBytes();
+
+        return Base64.decodeBase64(array);
+    }
+}

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/Base64InputStream.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/Base64OutputStream.java
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/Base64OutputStream.java?rev=753423&r1=753422&r2=753423&view=diff
==============================================================================
--- 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/Base64OutputStream.java
 (original)
+++ 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/Base64OutputStream.java
 Fri Mar 13 21:19:12 2009
@@ -1,34 +1,34 @@
-// Copyright 2006 The Apache Software Foundation
-//
-// 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.apache.tapestry5.internal.util;
-
-import org.apache.commons.codec.binary.Base64;
-
-import java.io.ByteArrayOutputStream;
-
-/**
- * An extension of {...@link ByteArrayOutputStream} that allows the final byte 
array to be converted to a Base64 string.
- */
-public final class Base64OutputStream extends ByteArrayOutputStream
-{
-    public String toBase64()
-    {
-        byte[] binary = toByteArray();
-
-        byte[] base64 = Base64.encodeBase64(binary);
-
-        return new String(base64);
-    }
-}
+// Copyright 2006 The Apache Software Foundation
+//
+// 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.apache.tapestry5.internal.util;
+
+import org.apache.commons.codec.binary.Base64;
+
+import java.io.ByteArrayOutputStream;
+
+/**
+ * An extension of {...@link ByteArrayOutputStream} that allows the final byte 
array to be converted to a Base64 string.
+ */
+public final class Base64OutputStream extends ByteArrayOutputStream
+{
+    public String toBase64()
+    {
+        byte[] binary = toByteArray();
+
+        byte[] base64 = Base64.encodeBase64(binary);
+
+        return new String(base64);
+    }
+}

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/Base64OutputStream.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/Holder.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/IntegerRange.java
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/IntegerRange.java?rev=753423&r1=753422&r2=753423&view=diff
==============================================================================
--- 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/IntegerRange.java
 (original)
+++ 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/IntegerRange.java
 Fri Mar 13 21:19:12 2009
@@ -1,125 +1,125 @@
-// Copyright 2006 The Apache Software Foundation
-//
-// 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.apache.tapestry5.internal.util;
-
-import java.util.Iterator;
-
-/**
- * Represents a sequence of integer values, either ascending or descending. 
The sequence is always inclusive (of the
- * finish value).
- */
-public final class IntegerRange implements Iterable<Integer>
-{
-    private final int start;
-
-    private final int finish;
-
-    private class RangeIterator implements Iterator<Integer>
-    {
-        private final int increment;
-
-        private int value = start;
-
-        private boolean hasNext = true;
-
-        RangeIterator()
-        {
-            increment = start < finish ? +1 : -1;
-        }
-
-        public boolean hasNext()
-        {
-            return hasNext;
-        }
-
-        public Integer next()
-        {
-            if (!hasNext) throw new IllegalStateException();
-
-            int result = value;
-
-            hasNext = value != finish;
-
-            value += increment;
-
-            return result;
-        }
-
-        public void remove()
-        {
-            throw new UnsupportedOperationException();
-        }
-
-    }
-
-    public IntegerRange(final int start, final int finish)
-    {
-        this.start = start;
-        this.finish = finish;
-    }
-
-    public int getFinish()
-    {
-        return finish;
-    }
-
-    public int getStart()
-    {
-        return start;
-    }
-
-    @Override
-    public String toString()
-    {
-        return String.format("%d..%d", start, finish);
-    }
-
-    /**
-     * The main puprose of a range object is to produce an Iterator. Since 
IntegerRange is iterable, it is useful with
-     * the Tapestry Loop component, but also with the Java for loop!
-     */
-    public Iterator<Integer> iterator()
-    {
-        return new RangeIterator();
-    }
-
-    @Override
-    public int hashCode()
-    {
-        final int PRIME = 31;
-
-        int result = PRIME + finish;
-
-        result = PRIME * result + start;
-
-        return result;
-    }
-
-    /**
-     * Returns true if the other object is an IntegerRange with the same start 
and finish values.
-     */
-    @Override
-    public boolean equals(Object obj)
-    {
-        if (this == obj) return true;
-        if (obj == null) return false;
-        if (getClass() != obj.getClass()) return false;
-        final IntegerRange other = (IntegerRange) obj;
-        if (finish != other.finish) return false;
-
-        return start == other.start;
-    }
-
-}
+// Copyright 2006 The Apache Software Foundation
+//
+// 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.apache.tapestry5.internal.util;
+
+import java.util.Iterator;
+
+/**
+ * Represents a sequence of integer values, either ascending or descending. 
The sequence is always inclusive (of the
+ * finish value).
+ */
+public final class IntegerRange implements Iterable<Integer>
+{
+    private final int start;
+
+    private final int finish;
+
+    private class RangeIterator implements Iterator<Integer>
+    {
+        private final int increment;
+
+        private int value = start;
+
+        private boolean hasNext = true;
+
+        RangeIterator()
+        {
+            increment = start < finish ? +1 : -1;
+        }
+
+        public boolean hasNext()
+        {
+            return hasNext;
+        }
+
+        public Integer next()
+        {
+            if (!hasNext) throw new IllegalStateException();
+
+            int result = value;
+
+            hasNext = value != finish;
+
+            value += increment;
+
+            return result;
+        }
+
+        public void remove()
+        {
+            throw new UnsupportedOperationException();
+        }
+
+    }
+
+    public IntegerRange(final int start, final int finish)
+    {
+        this.start = start;
+        this.finish = finish;
+    }
+
+    public int getFinish()
+    {
+        return finish;
+    }
+
+    public int getStart()
+    {
+        return start;
+    }
+
+    @Override
+    public String toString()
+    {
+        return String.format("%d..%d", start, finish);
+    }
+
+    /**
+     * The main puprose of a range object is to produce an Iterator. Since 
IntegerRange is iterable, it is useful with
+     * the Tapestry Loop component, but also with the Java for loop!
+     */
+    public Iterator<Integer> iterator()
+    {
+        return new RangeIterator();
+    }
+
+    @Override
+    public int hashCode()
+    {
+        final int PRIME = 31;
+
+        int result = PRIME + finish;
+
+        result = PRIME * result + start;
+
+        return result;
+    }
+
+    /**
+     * Returns true if the other object is an IntegerRange with the same start 
and finish values.
+     */
+    @Override
+    public boolean equals(Object obj)
+    {
+        if (this == obj) return true;
+        if (obj == null) return false;
+        if (getClass() != obj.getClass()) return false;
+        final IntegerRange other = (IntegerRange) obj;
+        if (finish != other.finish) return false;
+
+        return start == other.start;
+    }
+
+}

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/IntegerRange.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/LocaleUtils.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/MethodInvocationBuilder.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/MultiKey.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/NotificationEventCallback.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/ParameterBuilder.java
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/ParameterBuilder.java?rev=753423&r1=753422&r2=753423&view=diff
==============================================================================
--- 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/ParameterBuilder.java
 (original)
+++ 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/ParameterBuilder.java
 Fri Mar 13 21:19:12 2009
@@ -1,29 +1,29 @@
-// Copyright 2006 The Apache Software Foundation
-//
-// 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.apache.tapestry5.internal.util;
-
-import org.apache.tapestry5.services.ClassTransformation;
-
-/**
- * Builds single parameter value to pass into a method being invoked by a 
{...@link org.apache.tapestry5.internal.util.MethodInvocationBuilder}.
- */
-public interface ParameterBuilder
-{
-    /**
-     * @param transformation
-     * @return the expression for the parameter
-     */
-    String buildParameter(ClassTransformation transformation);
-}
+// Copyright 2006 The Apache Software Foundation
+//
+// 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.apache.tapestry5.internal.util;
+
+import org.apache.tapestry5.services.ClassTransformation;
+
+/**
+ * Builds single parameter value to pass into a method being invoked by a 
{...@link org.apache.tapestry5.internal.util.MethodInvocationBuilder}.
+ */
+public interface ParameterBuilder
+{
+    /**
+     * @param transformation
+     * @return the expression for the parameter
+     */
+    String buildParameter(ClassTransformation transformation);
+}

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/ParameterBuilder.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/PrimaryKeyEncoder2ValueEncoder.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/PrintOutCollector.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/RenderableAsBlock.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/SelectModelRenderer.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/StringParameterBuilder.java
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/StringParameterBuilder.java?rev=753423&r1=753422&r2=753423&view=diff
==============================================================================
--- 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/StringParameterBuilder.java
 (original)
+++ 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/StringParameterBuilder.java
 Fri Mar 13 21:19:12 2009
@@ -1,44 +1,44 @@
-// Copyright 2006 The Apache Software Foundation
-//
-// 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.apache.tapestry5.internal.util;
-
-import org.apache.tapestry5.services.ClassTransformation;
-
-import static java.lang.String.format;
-
-/**
- * Implementation of {...@link 
org.apache.tapestry5.internal.util.ParameterBuilder} that simply provides a 
static string
- * value for the parameter expression.
- */
-public final class StringParameterBuilder implements ParameterBuilder
-{
-    private final String expression;
-
-    public StringParameterBuilder(String expression)
-    {
-        this.expression = expression;
-    }
-
-    public String buildParameter(ClassTransformation transformation)
-    {
-        return expression;
-    }
-
-    @Override
-    public String toString()
-    {
-        return format("StringParameterBuilder[%s]", expression);
-    }
-}
+// Copyright 2006 The Apache Software Foundation
+//
+// 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.apache.tapestry5.internal.util;
+
+import org.apache.tapestry5.services.ClassTransformation;
+
+import static java.lang.String.format;
+
+/**
+ * Implementation of {...@link 
org.apache.tapestry5.internal.util.ParameterBuilder} that simply provides a 
static string
+ * value for the parameter expression.
+ */
+public final class StringParameterBuilder implements ParameterBuilder
+{
+    private final String expression;
+
+    public StringParameterBuilder(String expression)
+    {
+        this.expression = expression;
+    }
+
+    public String buildParameter(ClassTransformation transformation)
+    {
+        return expression;
+    }
+
+    @Override
+    public String toString()
+    {
+        return format("StringParameterBuilder[%s]", expression);
+    }
+}

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/StringParameterBuilder.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/StringRenderable.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/URLChangeTracker.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/UtilMessages.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/util/ValidationDecoratorWrapper.java
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to