This is an automated email from the ASF dual-hosted git repository.

sruehl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git


The following commit(s) were added to refs/heads/master by this push:
     new 2906972  fix build
2906972 is described below

commit 29069721ba50025834503cf682c0da9e471ada49
Author: Sebastian Rühl <sru...@apache.org>
AuthorDate: Sat Oct 27 10:18:03 2018 +0200

    fix build
---
 .../java/org/apache/plc4x/java/opm/OpmUtils.java   | 25 +++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git 
a/plc4j/utils/opm/src/main/java/org/apache/plc4x/java/opm/OpmUtils.java 
b/plc4j/utils/opm/src/main/java/org/apache/plc4x/java/opm/OpmUtils.java
index 0f05dc1..39f447d 100644
--- a/plc4j/utils/opm/src/main/java/org/apache/plc4x/java/opm/OpmUtils.java
+++ b/plc4j/utils/opm/src/main/java/org/apache/plc4x/java/opm/OpmUtils.java
@@ -1,3 +1,22 @@
+/*
+ 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.plc4x.java.opm;
 
 import java.lang.reflect.Field;
@@ -5,7 +24,11 @@ import java.lang.reflect.Field;
 /**
  * Utility methods for usage with OPM.
  */
-public class OpmUtils {
+public final class OpmUtils {
+
+    private OpmUtils() {
+        // Util class
+    }
 
     static <T> PlcEntity getPlcEntityAndCheckPreconditions(Class<T> clazz) {
         PlcEntity annotation = clazz.getAnnotation(PlcEntity.class);

Reply via email to