/*
 * 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 jena;

import static org.apache.jena.atlas.logging.LogCtl.setCmdLogging;

import java.lang.reflect.*;

import org.apache.jena.Jena ;

/**
 * jena.version
 * Print out jena version information and exit.
 */
public class version implements Jena {

    static { setCmdLogging(); }

    /**
	 * Print out jena version information and exit.
	 * @param args
	 * @throws IllegalAccessException 
	 * @throws IllegalArgumentException 
	 */
	public static void main(String[] args) throws IllegalArgumentException, IllegalAccessException {
		Field f[] = Jena.class.getDeclaredFields();
        for ( Field aF : f )
        {
            System.out.println( aF.getName() + ": " + aF.get( null ) );
        }
	}

}

@@ -886,37 +886,8 @@
 g;%0A%0A
-import java.lang.reflect.*;%0A%0A
 impo
@@ -938,32 +938,36 @@
 on%0A * Print out 
+the 
 jena version inf
@@ -959,36 +959,24 @@
 ena version 
-information 
 and exit.%0A *
@@ -1058,17 +1058,20 @@
     /**%0A
-%09
+    
  * Print
@@ -1112,106 +1112,23 @@
 exit
+s
 .%0A
-%09 * @param args%0A%09 * @throws IllegalAccessException %0A%09 * @throws IllegalArgumentException %0A%09 */%0A%09
+     */%0A    
 publ
@@ -1224,177 +1224,76 @@
 n %7B%0A
-%09%09Field f%5B%5D = Jena.class.getDeclaredFields();%0A        for ( Field aF : f )%0A        %7B%0A            System.out.println( aF.getName() + %22: %22 + aF.get( null ) );%0A        %7D%0A%09%7D%0A
+        String x = Jena.VERSION;%0A        System.out.println(x);%0A    %7D
 %0A%7D%0A

Print just the version information