Fix checkstyle in mdsal-binding2-java-api-generator
[mdsal.git] / binding2 / mdsal-binding2-java-api-generator / src / main / java / org / opendaylight / mdsal / binding / javav2 / java / api / generator / rangeGenerators / Uint8RangeGenerator.java
diff --git a/binding2/mdsal-binding2-java-api-generator/src/main/java/org/opendaylight/mdsal/binding/javav2/java/api/generator/rangeGenerators/Uint8RangeGenerator.java b/binding2/mdsal-binding2-java-api-generator/src/main/java/org/opendaylight/mdsal/binding/javav2/java/api/generator/rangeGenerators/Uint8RangeGenerator.java
deleted file mode 100644 (file)
index 50260fe..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright (c) 2017 Cisco Systems, Inc. and others.  All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-package org.opendaylight.mdsal.binding.javav2.java.api.generator.rangeGenerators;
-
-import org.opendaylight.yangtools.yang.common.Uint8;
-
-final class Uint8RangeGenerator extends AbstractUnsignedIntegerRangeGenerator<Uint8> {
-    Uint8RangeGenerator() {
-        super(Uint8.class, Uint8.class.getName(), Uint8.valueOf(0), Uint8.valueOf(255));
-    }
-
-    @Override
-    protected Uint8 convert(final Number value) {
-        return Uint8.valueOf(value.shortValue());
-    }
-}
\ No newline at end of file