X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=server%2Fruntime%2Forg.argeo.server.jcr%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fjcr%2FJcrUrlStreamHandler.java;h=a777639374426ce0cf70ff938acf5fcccbdc95da;hb=27aafca96a635f284c7b5b7f00b929ef30d757c6;hp=1f803bf8028259754db3c144093f4a0ce27034f7;hpb=9e1924ffda0c3f81736819cce48d024ec3c35fc6;p=lgpl%2Fargeo-commons.git diff --git a/server/runtime/org.argeo.server.jcr/src/main/java/org/argeo/jcr/JcrUrlStreamHandler.java b/server/runtime/org.argeo.server.jcr/src/main/java/org/argeo/jcr/JcrUrlStreamHandler.java index 1f803bf80..a77763937 100644 --- a/server/runtime/org.argeo.server.jcr/src/main/java/org/argeo/jcr/JcrUrlStreamHandler.java +++ b/server/runtime/org.argeo.server.jcr/src/main/java/org/argeo/jcr/JcrUrlStreamHandler.java @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2007-2012 Argeo GmbH + * + * 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.argeo.jcr; import java.io.IOException; @@ -6,7 +21,6 @@ import java.net.URL; import java.net.URLConnection; import java.net.URLStreamHandler; -import javax.jcr.Binary; import javax.jcr.Item; import javax.jcr.Node; import javax.jcr.Property; @@ -47,7 +61,7 @@ public class JcrUrlStreamHandler extends URLStreamHandler { } else { Property property = (Property) item; if(property.getType()==PropertyType.BINARY){ - Binary binary = property.getBinary(); + //Binary binary = property.getBinary(); } }