Repository: olingo-odata2 Updated Branches: refs/heads/master 0bce4ab78 -> e55daaa25
[OLINGO-1093] Add Apache header to Util Class Project: http://git-wip-us.apache.org/repos/asf/olingo-odata2/repo Commit: http://git-wip-us.apache.org/repos/asf/olingo-odata2/commit/e55daaa2 Tree: http://git-wip-us.apache.org/repos/asf/olingo-odata2/tree/e55daaa2 Diff: http://git-wip-us.apache.org/repos/asf/olingo-odata2/diff/e55daaa2 Branch: refs/heads/master Commit: e55daaa259ef2903c89d51c74cdea9fe33bf7f27 Parents: 0bce4ab Author: Christian Amend <[email protected]> Authored: Tue Apr 25 10:50:35 2017 +0200 Committer: Christian Amend <[email protected]> Committed: Tue Apr 25 10:50:35 2017 +0200 ---------------------------------------------------------------------- .../olingo/odata2/ref/processor/Util.java | 26 +++++++++++++++++--- 1 file changed, 22 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/olingo-odata2/blob/e55daaa2/odata2-lib/odata-ref/src/main/java/org/apache/olingo/odata2/ref/processor/Util.java ---------------------------------------------------------------------- diff --git a/odata2-lib/odata-ref/src/main/java/org/apache/olingo/odata2/ref/processor/Util.java b/odata2-lib/odata-ref/src/main/java/org/apache/olingo/odata2/ref/processor/Util.java index 9bbdb2e..a99fcd0 100644 --- a/odata2-lib/odata-ref/src/main/java/org/apache/olingo/odata2/ref/processor/Util.java +++ b/odata2-lib/odata-ref/src/main/java/org/apache/olingo/odata2/ref/processor/Util.java @@ -1,15 +1,33 @@ +/******************************************************************************* + * 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. + ******************************************************************************/ package org.apache.olingo.odata2.ref.processor; - public class Util { -private static final Util instance = new Util(); - + private static final Util instance = new Util(); + private byte[] binaryContent = null; - + public static Util getInstance() { return instance; } + /** * @return the binaryContent */
