Repository: wicket
Updated Branches:
  refs/heads/master 371a1ee31 -> 726c1400e


Remove unused constant.

Java 7 diamonds


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/726c1400
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/726c1400
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/726c1400

Branch: refs/heads/master
Commit: 726c1400e991bc3daeaca5a5cd16407e928cdd4a
Parents: 371a1ee
Author: Martin Tzvetanov Grigorov <[email protected]>
Authored: Tue Sep 2 10:11:49 2014 +0300
Committer: Martin Tzvetanov Grigorov <[email protected]>
Committed: Tue Sep 2 10:11:49 2014 +0300

----------------------------------------------------------------------
 .../wicket/markup/html/include/Include.java      | 19 +------------------
 1 file changed, 1 insertion(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/726c1400/wicket-core/src/main/java/org/apache/wicket/markup/html/include/Include.java
----------------------------------------------------------------------
diff --git 
a/wicket-core/src/main/java/org/apache/wicket/markup/html/include/Include.java 
b/wicket-core/src/main/java/org/apache/wicket/markup/html/include/Include.java
index a7d72cd..03c40a7 100644
--- 
a/wicket-core/src/main/java/org/apache/wicket/markup/html/include/Include.java
+++ 
b/wicket-core/src/main/java/org/apache/wicket/markup/html/include/Include.java
@@ -83,23 +83,6 @@ public class Include extends WebComponent
        private static final long serialVersionUID = 1L;
 
        /**
-        * <p>
-        * Valid characters in a scheme.
-        * </p>
-        * <p>
-        * RFC 1738 says the following:
-        * </p>
-        * <blockquote>Scheme names consist of a sequence of characters. The 
lower case letters
-        * "a"--"z", digits, and the characters plus ("+"), period ("."), and 
hyphen ("-") are allowed.
-        * For resiliency, programs interpreting URLs should treat upper case 
letters as equivalent to
-        * lower case in scheme names (e.g., allow "HTTP" as well as "http"). 
</blockquote>
-        * <p>
-        * We treat as absolute any URL that begins with such a scheme name, 
followed by a colon.
-        * </p>
-        */
-       private static final String VALID_SCHEME_CHARS = 
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+.-";
-
-       /**
         * Construct.
         * 
         * @param id
@@ -133,7 +116,7 @@ public class Include extends WebComponent
         */
        public Include(String id, String modelObject)
        {
-               super(id, new Model<String>(modelObject));
+               super(id, new Model<>(modelObject));
        }
 
        /**

Reply via email to