eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject [4/6] incubator-eagle git commit: [EAGLE-482] Fix checkstyle configuration
Date Mon, 22 Aug 2016 07:24:53 GMT
http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/a197eb02/eagle-core/eagle-query/eagle-entity-base/src/test/java/org/apache/eagle/log/entity/TestGenericEntityIndexStreamReader.java
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-entity-base/src/test/java/org/apache/eagle/log/entity/TestGenericEntityIndexStreamReader.java b/eagle-core/eagle-query/eagle-entity-base/src/test/java/org/apache/eagle/log/entity/TestGenericEntityIndexStreamReader.java
index 71df332..ae07f4e 100755
--- a/eagle-core/eagle-query/eagle-entity-base/src/test/java/org/apache/eagle/log/entity/TestGenericEntityIndexStreamReader.java
+++ b/eagle-core/eagle-query/eagle-entity-base/src/test/java/org/apache/eagle/log/entity/TestGenericEntityIndexStreamReader.java
@@ -36,136 +36,136 @@ import java.util.List;
 @Ignore
 public class TestGenericEntityIndexStreamReader extends TestHBaseBase {
 
-	@Test
-	public void testUniqueIndexRead() throws Exception {
-		EntityDefinition entityDefinition = EntityDefinitionManager.getEntityDefinitionByEntityClass(TestLogAPIEntity.class);
-		hbase.createTable(entityDefinition.getTable(), entityDefinition.getColumnFamily());
+    @Test
+    public void testUniqueIndexRead() throws Exception {
+        EntityDefinition entityDefinition = EntityDefinitionManager.getEntityDefinitionByEntityClass(TestLogAPIEntity.class);
+        hbase.createTable(entityDefinition.getTable(), entityDefinition.getColumnFamily());
 
-		EntityDefinitionManager.registerEntity(TestLogAPIEntity.class);
-		EntityDefinition ed = EntityDefinitionManager.getEntityDefinitionByEntityClass(TestLogAPIEntity.class);
-		
-		List<TestLogAPIEntity> list = new ArrayList<TestLogAPIEntity>();
-		TestLogAPIEntity e = new TestLogAPIEntity();
-		e.setField1(1);
-		e.setField2(2);
-		e.setField3(3);
-		e.setField4(4L);
-		e.setField5(5.0);
-		e.setField6(5.0);
-		e.setField7("7");
-		e.setTags(new HashMap<String, String>());
-		e.getTags().put("jobID", "index_test_job_id");
-		e.getTags().put("hostname", "testhost");
-		list.add(e);
+        EntityDefinitionManager.registerEntity(TestLogAPIEntity.class);
+        final EntityDefinition ed = EntityDefinitionManager.getEntityDefinitionByEntityClass(TestLogAPIEntity.class);
+        
+        final List<TestLogAPIEntity> list = new ArrayList<TestLogAPIEntity>();
+        TestLogAPIEntity e = new TestLogAPIEntity();
+        e.setField1(1);
+        e.setField2(2);
+        e.setField3(3);
+        e.setField4(4L);
+        e.setField5(5.0);
+        e.setField6(5.0);
+        e.setField7("7");
+        e.setTags(new HashMap<>());
+        e.getTags().put("jobID", "index_test_job_id");
+        e.getTags().put("hostname", "testhost");
+        list.add(e);
 
-		GenericEntityWriter writer = new GenericEntityWriter(ed.getService());
-		List<String> result = writer.write(list);
-		Assert.assertNotNull(result);
-		
-		IndexDefinition indexDef = ed.getIndexes()[0];
-		SearchCondition condition = new SearchCondition();
-		condition.setOutputFields(new ArrayList<String>());
-		condition.getOutputFields().add("field1");
-		condition.getOutputFields().add("field2");
-		condition.getOutputFields().add("field3");
-		condition.getOutputFields().add("field4");
-		condition.getOutputFields().add("field5");
-		condition.getOutputFields().add("field6");
-		condition.getOutputFields().add("field7");
+        GenericEntityWriter writer = new GenericEntityWriter(ed.getService());
+        List<String> result = writer.write(list);
+        Assert.assertNotNull(result);
+        
+        final IndexDefinition indexDef = ed.getIndexes()[0];
+        SearchCondition condition = new SearchCondition();
+        condition.setOutputFields(new ArrayList<String>());
+        condition.getOutputFields().add("field1");
+        condition.getOutputFields().add("field2");
+        condition.getOutputFields().add("field3");
+        condition.getOutputFields().add("field4");
+        condition.getOutputFields().add("field5");
+        condition.getOutputFields().add("field6");
+        condition.getOutputFields().add("field7");
 
-		String query = "@field7 = \"7\" AND @jobID = \"index_test_job_id\" ";
-		EagleQueryParser parser = new EagleQueryParser(query);
-		condition.setQueryExpression(parser.parse());
+        String query = "@field7 = \"7\" AND @jobID = \"index_test_job_id\" ";
+        EagleQueryParser parser = new EagleQueryParser(query);
+        condition.setQueryExpression(parser.parse());
 
-		UniqueIndexStreamReader indexReader = new UniqueIndexStreamReader(indexDef, condition);
-		GenericEntityBatchReader batchReader = new GenericEntityBatchReader(indexReader);
-		List<TestLogAPIEntity> entities =  batchReader.read();
-		Assert.assertNotNull(entities);
-		Assert.assertTrue(entities.size() >= 1);
-		TestLogAPIEntity e1 = entities.get(0);
-		Assert.assertEquals(e.getField1(), e1.getField1());
-		Assert.assertEquals(e.getField2(), e1.getField2());
-		Assert.assertEquals(e.getField3(), e1.getField3());
-		Assert.assertEquals(e.getField4(), e1.getField4());
-		Assert.assertEquals(e.getField5(), e1.getField5(), 0.001);
-		Assert.assertEquals(e.getField6(), e1.getField6());
-		Assert.assertEquals(e.getField7(), e1.getField7());
-		
-		GenericDeleter deleter = new GenericDeleter(ed.getTable(), ed.getColumnFamily());
-		deleter.delete(list);
-		
-		indexReader = new UniqueIndexStreamReader(indexDef, condition);
-		batchReader = new GenericEntityBatchReader(indexReader);
-		entities =  batchReader.read();
-		hbase.deleteTable(entityDefinition.getTable());
-		Assert.assertNotNull(entities);
-		Assert.assertTrue(entities.isEmpty());
-	}
+        UniqueIndexStreamReader indexReader = new UniqueIndexStreamReader(indexDef, condition);
+        GenericEntityBatchReader batchReader = new GenericEntityBatchReader(indexReader);
+        List<TestLogAPIEntity> entities =  batchReader.read();
+        Assert.assertNotNull(entities);
+        Assert.assertTrue(entities.size() >= 1);
+        TestLogAPIEntity e1 = entities.get(0);
+        Assert.assertEquals(e.getField1(), e1.getField1());
+        Assert.assertEquals(e.getField2(), e1.getField2());
+        Assert.assertEquals(e.getField3(), e1.getField3());
+        Assert.assertEquals(e.getField4(), e1.getField4());
+        Assert.assertEquals(e.getField5(), e1.getField5(), 0.001);
+        Assert.assertEquals(e.getField6(), e1.getField6());
+        Assert.assertEquals(e.getField7(), e1.getField7());
+        
+        GenericDeleter deleter = new GenericDeleter(ed.getTable(), ed.getColumnFamily());
+        deleter.delete(list);
+        
+        indexReader = new UniqueIndexStreamReader(indexDef, condition);
+        batchReader = new GenericEntityBatchReader(indexReader);
+        entities =  batchReader.read();
+        hbase.deleteTable(entityDefinition.getTable());
+        Assert.assertNotNull(entities);
+        Assert.assertTrue(entities.isEmpty());
+    }
 
-	@Test
-	public void testNonClusterIndexRead() throws Exception {
+    @Test
+    public void testNonClusterIndexRead() throws Exception {
         EntityDefinition entityDefinition = EntityDefinitionManager.getEntityDefinitionByEntityClass(TestLogAPIEntity.class);
         hbase.createTable(entityDefinition.getTable(), entityDefinition.getColumnFamily());
 
-		EntityDefinitionManager.registerEntity(TestLogAPIEntity.class);
-		EntityDefinition ed = EntityDefinitionManager.getEntityDefinitionByEntityClass(TestLogAPIEntity.class);
-		
-		List<TestLogAPIEntity> list = new ArrayList<TestLogAPIEntity>();
-		TestLogAPIEntity e = new TestLogAPIEntity();
-		e.setField1(1);
-		e.setField2(2);
-		e.setField3(3);
-		e.setField4(4L);
-		e.setField5(5.0);
-		e.setField6(5.0);
-		e.setField7("7");
-		e.setTags(new HashMap<String, String>());
-		e.getTags().put("jobID", "index_test_job_id");
-		e.getTags().put("hostname", "testhost");
-		list.add(e);
+        EntityDefinitionManager.registerEntity(TestLogAPIEntity.class);
+        final EntityDefinition ed = EntityDefinitionManager.getEntityDefinitionByEntityClass(TestLogAPIEntity.class);
+        
+        final List<TestLogAPIEntity> list = new ArrayList<TestLogAPIEntity>();
+        TestLogAPIEntity e = new TestLogAPIEntity();
+        e.setField1(1);
+        e.setField2(2);
+        e.setField3(3);
+        e.setField4(4L);
+        e.setField5(5.0);
+        e.setField6(5.0);
+        e.setField7("7");
+        e.setTags(new HashMap<String, String>());
+        e.getTags().put("jobID", "index_test_job_id");
+        e.getTags().put("hostname", "testhost");
+        list.add(e);
 
-		GenericEntityWriter writer = new GenericEntityWriter(ed.getService());
-		List<String> result = writer.write(list);
-		Assert.assertNotNull(result);
-		
-		IndexDefinition indexDef = ed.getIndexes()[1];
-		SearchCondition condition = new SearchCondition();
-		condition.setOutputFields(new ArrayList<String>());
-		condition.getOutputFields().add("field1");
-		condition.getOutputFields().add("field2");
-		condition.getOutputFields().add("field3");
-		condition.getOutputFields().add("field4");
-		condition.getOutputFields().add("field5");
-		condition.getOutputFields().add("field6");
-		condition.getOutputFields().add("field7");
+        GenericEntityWriter writer = new GenericEntityWriter(ed.getService());
+        List<String> result = writer.write(list);
+        Assert.assertNotNull(result);
+        
+        final IndexDefinition indexDef = ed.getIndexes()[1];
+        SearchCondition condition = new SearchCondition();
+        condition.setOutputFields(new ArrayList<String>());
+        condition.getOutputFields().add("field1");
+        condition.getOutputFields().add("field2");
+        condition.getOutputFields().add("field3");
+        condition.getOutputFields().add("field4");
+        condition.getOutputFields().add("field5");
+        condition.getOutputFields().add("field6");
+        condition.getOutputFields().add("field7");
 
-		String query = "@field7 = \"7\" AND @jobID = \"index_test_job_id\" AND @hostname = \"testhost\"";
-		EagleQueryParser parser = new EagleQueryParser(query);
-		condition.setQueryExpression(parser.parse());
+        String query = "@field7 = \"7\" AND @jobID = \"index_test_job_id\" AND @hostname = \"testhost\"";
+        EagleQueryParser parser = new EagleQueryParser(query);
+        condition.setQueryExpression(parser.parse());
 
-		NonClusteredIndexStreamReader indexReader = new NonClusteredIndexStreamReader(indexDef, condition);
-		GenericEntityBatchReader batchReader = new GenericEntityBatchReader(indexReader);
-		List<TestLogAPIEntity> entities =  batchReader.read();
-		Assert.assertNotNull(entities);
-		Assert.assertTrue(entities.size() >= 1);
-		TestLogAPIEntity e1 = entities.get(0);
-		Assert.assertEquals(e.getField1(), e1.getField1());
-		Assert.assertEquals(e.getField2(), e1.getField2());
-		Assert.assertEquals(e.getField3(), e1.getField3());
-		Assert.assertEquals(e.getField4(), e1.getField4());
-		Assert.assertEquals(e.getField5(), e1.getField5(), 0.001);
-		Assert.assertEquals(e.getField6(), e1.getField6());
-		Assert.assertEquals(e.getField7(), e1.getField7());
+        NonClusteredIndexStreamReader indexReader = new NonClusteredIndexStreamReader(indexDef, condition);
+        GenericEntityBatchReader batchReader = new GenericEntityBatchReader(indexReader);
+        List<TestLogAPIEntity> entities =  batchReader.read();
+        Assert.assertNotNull(entities);
+        Assert.assertTrue(entities.size() >= 1);
+        TestLogAPIEntity e1 = entities.get(0);
+        Assert.assertEquals(e.getField1(), e1.getField1());
+        Assert.assertEquals(e.getField2(), e1.getField2());
+        Assert.assertEquals(e.getField3(), e1.getField3());
+        Assert.assertEquals(e.getField4(), e1.getField4());
+        Assert.assertEquals(e.getField5(), e1.getField5(), 0.001);
+        Assert.assertEquals(e.getField6(), e1.getField6());
+        Assert.assertEquals(e.getField7(), e1.getField7());
 
 
-		GenericDeleter deleter = new GenericDeleter(ed.getTable(), ed.getColumnFamily());
-		deleter.delete(list);
-		
-		indexReader = new NonClusteredIndexStreamReader(indexDef, condition);
-		batchReader = new GenericEntityBatchReader(indexReader);
-		entities =  batchReader.read();
-		hbase.deleteTable(entityDefinition.getTable());
-		Assert.assertNotNull(entities);
-		Assert.assertTrue(entities.isEmpty());
-	}
+        GenericDeleter deleter = new GenericDeleter(ed.getTable(), ed.getColumnFamily());
+        deleter.delete(list);
+        
+        indexReader = new NonClusteredIndexStreamReader(indexDef, condition);
+        batchReader = new GenericEntityBatchReader(indexReader);
+        entities =  batchReader.read();
+        hbase.deleteTable(entityDefinition.getTable());
+        Assert.assertNotNull(entities);
+        Assert.assertTrue(entities.isEmpty());
+    }
 }

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/a197eb02/eagle-core/eagle-query/eagle-entity-base/src/test/java/org/apache/eagle/log/entity/TestHBaseWriteEntitiesPerformance.java
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-entity-base/src/test/java/org/apache/eagle/log/entity/TestHBaseWriteEntitiesPerformance.java b/eagle-core/eagle-query/eagle-entity-base/src/test/java/org/apache/eagle/log/entity/TestHBaseWriteEntitiesPerformance.java
index a538982..4324b73 100755
--- a/eagle-core/eagle-query/eagle-entity-base/src/test/java/org/apache/eagle/log/entity/TestHBaseWriteEntitiesPerformance.java
+++ b/eagle-core/eagle-query/eagle-entity-base/src/test/java/org/apache/eagle/log/entity/TestHBaseWriteEntitiesPerformance.java
@@ -33,98 +33,98 @@ import java.util.List;
 
 @Ignore
 public class TestHBaseWriteEntitiesPerformance extends TestHBaseBase {
-	private EntityDefinition ed;
-	private final static Logger LOG = LoggerFactory.getLogger(TestHBaseWriteEntitiesPerformance.class);
+    private EntityDefinition ed;
+    private static final Logger LOG = LoggerFactory.getLogger(TestHBaseWriteEntitiesPerformance.class);
 
-	@Before
-	public void setUp() throws IllegalAccessException, InstantiationException, IOException {
-		EntityDefinition entityDefinition = EntityDefinitionManager.getEntityDefinitionByEntityClass(TestLogAPIEntity.class);
-		hbase.createTable(entityDefinition.getTable(), entityDefinition.getColumnFamily());
+    @Before
+    public void setUp() throws IllegalAccessException, InstantiationException, IOException {
+        EntityDefinition entityDefinition = EntityDefinitionManager.getEntityDefinitionByEntityClass(TestLogAPIEntity.class);
+        hbase.createTable(entityDefinition.getTable(), entityDefinition.getColumnFamily());
 
-		EntityDefinitionManager.registerEntity(TestLogAPIEntity.class);
-		try {
-			ed = EntityDefinitionManager.getEntityDefinitionByEntityClass(TestLogAPIEntity.class);
-			ed.setTimeSeries(true);
-		} catch (InstantiationException | IllegalAccessException e) {
-			Assert.fail(e.getMessage());
-		}
+        EntityDefinitionManager.registerEntity(TestLogAPIEntity.class);
+        try {
+            ed = EntityDefinitionManager.getEntityDefinitionByEntityClass(TestLogAPIEntity.class);
+            ed.setTimeSeries(true);
+        } catch (InstantiationException | IllegalAccessException e) {
+            Assert.fail(e.getMessage());
+        }
     }
 
-	@After
-	public void cleanUp() throws IllegalAccessException, InstantiationException, IOException {
-		EntityDefinition entityDefinition = EntityDefinitionManager.getEntityDefinitionByEntityClass(TestLogAPIEntity.class);
-		hbase.deleteTable(entityDefinition.getTable());
-	}
+    @After
+    public void cleanUp() throws IllegalAccessException, InstantiationException, IOException {
+        EntityDefinition entityDefinition = EntityDefinitionManager.getEntityDefinitionByEntityClass(TestLogAPIEntity.class);
+        hbase.deleteTable(entityDefinition.getTable());
+    }
 
-	private List<String> writeEntities(int count){
-		GenericEntityWriter writer = null;
-		try {
-			writer = new GenericEntityWriter(ed.getService());
-		} catch (InstantiationException e1) {
-			Assert.fail(e1.getMessage());
-		} catch (IllegalAccessException e1) {
-			Assert.fail(e1.getMessage());
-		}
+    private List<String> writeEntities(int count) {
+        GenericEntityWriter writer = null;
+        try {
+            writer = new GenericEntityWriter(ed.getService());
+        } catch (InstantiationException | IllegalAccessException e1) {
+            Assert.fail(e1.getMessage());
+        }
+        if (LOG.isDebugEnabled()) {
+            LOG.debug("Start to write " + count + " entities");
+        }
 
-		if(LOG.isDebugEnabled()) LOG.debug("Start to write "+count+" entities");
-		int wroteCount = 0;
-		List<String> rowkeys = new ArrayList<String>();
-		List<TestLogAPIEntity> list = new ArrayList<TestLogAPIEntity>();
-		for(int i=0;i<= count;i++){
-			TestLogAPIEntity e = new TestLogAPIEntity();
-			e.setTimestamp(new Date().getTime());
-			e.setField1(i);
-			e.setField2(i);
-			e.setField3(i);
-			e.setField4(new Long(i));
-			e.setField5(new Double(i));
-			e.setField6(new Double(i));
-			e.setField7(String.valueOf(i));
-			e.setTags(new HashMap<String, String>());
-			e.getTags().put("jobID", "index_test_job_id");
-			e.getTags().put("hostname", "testhost");
-			e.getTags().put("index", String.valueOf(i));
-			e.getTags().put("class", e.toString());
-			list.add(e);
+        int wroteCount = 0;
+        List<String> rowkeys = new ArrayList<String>();
+        List<TestLogAPIEntity> list = new ArrayList<TestLogAPIEntity>();
+        for (int i = 0 ; i <= count;i++) {
+            TestLogAPIEntity e = new TestLogAPIEntity();
+            e.setTimestamp(new Date().getTime());
+            e.setField1(i);
+            e.setField2(i);
+            e.setField3(i);
+            e.setField4((long) i);
+            e.setField5((double) i);
+            e.setField6((double) i);
+            e.setField7(String.valueOf(i));
+            e.setTags(new HashMap<String, String>());
+            e.getTags().put("jobID", "index_test_job_id");
+            e.getTags().put("hostname", "testhost");
+            e.getTags().put("index", String.valueOf(i));
+            e.getTags().put("class", e.toString());
+            list.add(e);
 
-			if(list.size()>=1000){
-				try {
-					StopWatch watch = new StopWatch();
-					watch.start();
-					rowkeys.addAll(writer.write(list));
-					watch.stop();
-					wroteCount += list.size();
-					if(LOG.isDebugEnabled()) LOG.debug("Wrote "+wroteCount+" / "+count+" entities"+" in "+watch.getTime()+" ms");
-					list.clear();
-				} catch (Exception e1) {
-					Assert.fail(e1.getMessage());
-				}
-			}
-		}
+            if ( list.size() >= 1000) {
+                try {
+                    StopWatch watch = new StopWatch();
+                    watch.start();
+                    rowkeys.addAll(writer.write(list));
+                    watch.stop();
+                    wroteCount += list.size();
+                    if (LOG.isDebugEnabled()) LOG.debug("Wrote "+wroteCount+" / "+count+" entities"+" in "+watch.getTime()+" ms");
+                    list.clear();
+                } catch (Exception e1) {
+                    Assert.fail(e1.getMessage());
+                }
+            }
+        }
 
-		try {
-			rowkeys.addAll(writer.write(list));
-			wroteCount += list.size();
-			if(LOG.isDebugEnabled()) LOG.debug("wrote "+wroteCount+" / "+count+" entities");
-		} catch (Exception e) {
-			Assert.fail(e.getMessage());
-		}
-		if(LOG.isDebugEnabled()) LOG.debug("done "+count+" entities");
-		return rowkeys;
-	}
+        try {
+            rowkeys.addAll(writer.write(list));
+            wroteCount += list.size();
+            if (LOG.isDebugEnabled()) LOG.debug("wrote "+wroteCount+" / "+count+" entities");
+        } catch (Exception e) {
+            Assert.fail(e.getMessage());
+        }
+        if (LOG.isDebugEnabled()) LOG.debug("done "+count+" entities");
+        return rowkeys;
+    }
 
-	@SuppressWarnings("unused")
-	@Test
-	public void testWrite1MLogAPIEntities(){
-		Date startTime = new Date();
-		LOG.info("Start time: " + startTime);
-		StopWatch watch = new StopWatch();
-		watch.start();
-		List<String> rowKeys = writeEntities(10);
-		Assert.assertNotNull(rowKeys);
-		watch.stop();
-		Date endTime = new Date();
-		LOG.info("End time: " + endTime);
-		LOG.info("Totally take " + watch.getTime() * 1.0 / 1000 + " s");
-	}
+    @SuppressWarnings("unused")
+    @Test
+    public void testWrite1MLogAPIEntities() {
+        Date startTime = new Date();
+        LOG.info("Start time: " + startTime);
+        StopWatch watch = new StopWatch();
+        watch.start();
+        List<String> rowKeys = writeEntities(10);
+        Assert.assertNotNull(rowKeys);
+        watch.stop();
+        Date endTime = new Date();
+        LOG.info("End time: " + endTime);
+        LOG.info("Totally take " + watch.getTime() * 1.0 / 1000 + " s");
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/a197eb02/eagle-core/eagle-query/eagle-query-base/pom.xml
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-query-base/pom.xml b/eagle-core/eagle-query/eagle-query-base/pom.xml
index 48ae806..4f41319 100644
--- a/eagle-core/eagle-query/eagle-query-base/pom.xml
+++ b/eagle-core/eagle-query/eagle-query-base/pom.xml
@@ -16,7 +16,8 @@
   ~ limitations under the License.
   -->
 
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <parent>
         <artifactId>eagle-query-parent</artifactId>
         <groupId>org.apache.eagle</groupId>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/a197eb02/eagle-core/eagle-query/eagle-service-base/pom.xml
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-service-base/pom.xml b/eagle-core/eagle-query/eagle-service-base/pom.xml
index 5a6ae2c..92a705a 100755
--- a/eagle-core/eagle-query/eagle-service-base/pom.xml
+++ b/eagle-core/eagle-query/eagle-service-base/pom.xml
@@ -16,35 +16,36 @@
   ~ limitations under the License.
   -->
 
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-	<modelVersion>4.0.0</modelVersion>
-	<parent>
-		<groupId>org.apache.eagle</groupId>
-		<artifactId>eagle-query-parent</artifactId>
-		<version>0.5.0-incubating-SNAPSHOT</version>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.eagle</groupId>
+        <artifactId>eagle-query-parent</artifactId>
+        <version>0.5.0-incubating-SNAPSHOT</version>
         <relativePath>../pom.xml</relativePath>
-	</parent>
+    </parent>
 
-	<artifactId>eagle-service-base</artifactId>
-	<packaging>jar</packaging>
-	<name>eagle-service-base</name>
+    <artifactId>eagle-service-base</artifactId>
+    <packaging>jar</packaging>
+    <name>eagle-service-base</name>
 
-	<dependencies>
+    <dependencies>
         <!-- put eagle-storage-base dependency at the top for using asm 4.0 jar !-->
         <dependency>
             <groupId>org.apache.eagle</groupId>
             <artifactId>eagle-storage-base</artifactId>
             <version>${project.version}</version>
         </dependency>
-		<dependency>
-			<groupId>com.sun.jersey</groupId>
-			<artifactId>jersey-server</artifactId>
-		</dependency>
-		<dependency>
-			<groupId>com.sun.jersey.contribs</groupId>
-			<artifactId>jersey-multipart</artifactId>
-			<version>${jersey.version}</version>
-		</dependency>
+        <dependency>
+            <groupId>com.sun.jersey</groupId>
+            <artifactId>jersey-server</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.sun.jersey.contribs</groupId>
+            <artifactId>jersey-multipart</artifactId>
+            <version>${jersey.version}</version>
+        </dependency>
         <dependency>
             <groupId>org.apache.eagle</groupId>
             <artifactId>eagle-common</artifactId>
@@ -68,9 +69,9 @@
             <classifier>tests</classifier>
             <scope>test</scope>
         </dependency>
-		<dependency>
-			<groupId>org.codehaus.jackson</groupId>
-			<artifactId>jackson-mapper-asl</artifactId>
-		</dependency>
-	</dependencies>
+        <dependency>
+            <groupId>org.codehaus.jackson</groupId>
+            <artifactId>jackson-mapper-asl</artifactId>
+        </dependency>
+    </dependencies>
 </project>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/a197eb02/eagle-core/eagle-query/eagle-storage-base/pom.xml
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-storage-base/pom.xml b/eagle-core/eagle-query/eagle-storage-base/pom.xml
index 6589fa9..536e497 100644
--- a/eagle-core/eagle-query/eagle-storage-base/pom.xml
+++ b/eagle-core/eagle-query/eagle-storage-base/pom.xml
@@ -15,7 +15,8 @@
   ~ See the License for the specific language governing permissions and
   ~ limitations under the License.
   -->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <parent>
         <artifactId>eagle-query-parent</artifactId>
         <groupId>org.apache.eagle</groupId>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/a197eb02/eagle-core/eagle-query/eagle-storage-hbase/pom.xml
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-storage-hbase/pom.xml b/eagle-core/eagle-query/eagle-storage-hbase/pom.xml
index 99a536a..774684c 100644
--- a/eagle-core/eagle-query/eagle-storage-hbase/pom.xml
+++ b/eagle-core/eagle-query/eagle-storage-hbase/pom.xml
@@ -16,7 +16,8 @@
   ~ limitations under the License.
   -->
 
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <parent>
         <artifactId>eagle-query-parent</artifactId>
         <groupId>org.apache.eagle</groupId>
@@ -29,11 +30,11 @@
 
     <dependencies>
         <!-- added for jira EAGLE-47 -->
-		<dependency>
-			<groupId>org.springframework.security</groupId>
-			<artifactId>spring-security-core</artifactId>
-			<version>${spring.framework.version}</version>
-		</dependency> 
+        <dependency>
+            <groupId>org.springframework.security</groupId>
+            <artifactId>spring-security-core</artifactId>
+            <version>${spring.framework.version}</version>
+        </dependency>
         <dependency>
             <groupId>org.apache.eagle</groupId>
             <artifactId>eagle-audit-base</artifactId>
@@ -44,7 +45,7 @@
             <artifactId>eagle-common</artifactId>
             <version>${project.version}</version>
         </dependency>
-        
+
         <dependency>
             <groupId>org.apache.eagle</groupId>
             <artifactId>eagle-storage-base</artifactId>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/a197eb02/eagle-core/eagle-query/eagle-storage-hbase/src/test/java/org/apache/eagle/storage/hbase/TestHBaseStatement.java
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-storage-hbase/src/test/java/org/apache/eagle/storage/hbase/TestHBaseStatement.java b/eagle-core/eagle-query/eagle-storage-hbase/src/test/java/org/apache/eagle/storage/hbase/TestHBaseStatement.java
index 9b6dfe7..079cf12 100644
--- a/eagle-core/eagle-query/eagle-storage-hbase/src/test/java/org/apache/eagle/storage/hbase/TestHBaseStatement.java
+++ b/eagle-core/eagle-query/eagle-storage-hbase/src/test/java/org/apache/eagle/storage/hbase/TestHBaseStatement.java
@@ -16,31 +16,28 @@
  */
 package org.apache.eagle.storage.hbase;
 
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-
+import org.apache.eagle.common.DateTimeUtil;
 import org.apache.eagle.log.entity.meta.EntityDefinition;
 import org.apache.eagle.log.entity.meta.EntityDefinitionManager;
-import org.apache.eagle.storage.operation.CreateStatement;
-
-import org.apache.eagle.storage.operation.QueryStatement;
-import org.junit.*;
-
 import org.apache.eagle.log.entity.test.TestTimeSeriesAPIEntity;
 import org.apache.eagle.service.hbase.TestHBaseBase;
 import org.apache.eagle.storage.DataStorageManager;
 import org.apache.eagle.storage.exception.IllegalDataStorageTypeException;
+import org.apache.eagle.storage.operation.CreateStatement;
+import org.apache.eagle.storage.operation.QueryStatement;
 import org.apache.eagle.storage.operation.RawQuery;
 import org.apache.eagle.storage.result.ModifyResult;
 import org.apache.eagle.storage.result.QueryResult;
-import org.apache.eagle.common.DateTimeUtil;
+import org.junit.After;
+import org.junit.Assert;
+import org.junit.Before;
+import org.junit.Test;
+
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
 
-/**
- * @since 3/23/15
- */
-@Ignore
 public class TestHBaseStatement extends TestHBaseBase {
 
     EntityDefinition entityDefinition;
@@ -59,18 +56,20 @@ public class TestHBaseStatement extends TestHBaseBase {
 
     @Test
     public void testCreate() throws IllegalDataStorageTypeException, IOException {
-        List<TestTimeSeriesAPIEntity> entities = new ArrayList<TestTimeSeriesAPIEntity>();
+        final List<TestTimeSeriesAPIEntity> entities = new ArrayList<>();
         TestTimeSeriesAPIEntity entity = new TestTimeSeriesAPIEntity();
         entity.setField1(1);
         entity.setField2(2);
-        entity.setField3(10000000l);
-        entity.setField4(10000000l);
+        entity.setField3(10000000L);
+        entity.setField4(10000000L);
         entity.setField5(0.12345678);
-        entity.setTags(new HashMap<String, String>() {{
-            put("cluster", "test");
-            put("datacenter", "test");
-            put("name","unit.test.name");
-        }});
+        entity.setTags(new HashMap<String, String>() {
+            {
+                put("cluster", "test");
+                put("datacenter", "test");
+                put("name","unit.test.name");
+            }
+        });
 
         entities.add(entity);
 
@@ -93,7 +92,7 @@ public class TestHBaseStatement extends TestHBaseBase {
         query.setPageSize(Integer.MAX_VALUE);
         query.setFilterIfMissing(false);
         query.setStartTime(DateTimeUtil.millisecondsToHumanDateWithSeconds(0));
-        query.setEndTime(DateTimeUtil.millisecondsToHumanDateWithSeconds(System.currentTimeMillis()+25 * 3600 * 1000));
+        query.setEndTime(DateTimeUtil.millisecondsToHumanDateWithSeconds(System.currentTimeMillis() + 25 * 3600 * 1000));
         QueryStatement queryStatement = new QueryStatement(query);
         QueryResult<?> entityResult = queryStatement.execute(DataStorageManager.newDataStorage("hbase"));
         assert entityResult != null;

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/a197eb02/eagle-core/eagle-query/eagle-storage-jdbc/pom.xml
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/eagle-storage-jdbc/pom.xml b/eagle-core/eagle-query/eagle-storage-jdbc/pom.xml
index 08243b7..3eac346 100644
--- a/eagle-core/eagle-query/eagle-storage-jdbc/pom.xml
+++ b/eagle-core/eagle-query/eagle-storage-jdbc/pom.xml
@@ -16,7 +16,8 @@
   ~ limitations under the License.
   -->
 
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <parent>
         <artifactId>eagle-query-parent</artifactId>
         <groupId>org.apache.eagle</groupId>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/a197eb02/eagle-core/eagle-query/pom.xml
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-query/pom.xml b/eagle-core/eagle-query/pom.xml
index bc6f729..30fe767 100644
--- a/eagle-core/eagle-query/pom.xml
+++ b/eagle-core/eagle-query/pom.xml
@@ -16,120 +16,121 @@
   ~ limitations under the License.
   -->
 
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-	<modelVersion>4.0.0</modelVersion>
-	<parent>
-		<groupId>org.apache.eagle</groupId>
-		<artifactId>eagle-core</artifactId>
-		<version>0.5.0-incubating-SNAPSHOT</version>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.eagle</groupId>
+        <artifactId>eagle-core</artifactId>
+        <version>0.5.0-incubating-SNAPSHOT</version>
         <relativePath>../pom.xml</relativePath>
-	</parent>
+    </parent>
 
-	<artifactId>eagle-query-parent</artifactId>
-	<packaging>pom</packaging>
+    <artifactId>eagle-query-parent</artifactId>
+    <packaging>pom</packaging>
 
-	<name>eagle-query-parent</name>
+    <name>eagle-query-parent</name>
 
-	<modules>
-		<module>eagle-antlr</module>
-		<module>eagle-entity-base</module>
-		<module>eagle-audit-base</module>
-		<module>eagle-client-base</module>
-		<module>eagle-service-base</module>
+    <modules>
+        <module>eagle-antlr</module>
+        <module>eagle-entity-base</module>
+        <module>eagle-audit-base</module>
+        <module>eagle-client-base</module>
+        <module>eagle-service-base</module>
         <module>eagle-query-base</module>
         <module>eagle-storage-base</module>
         <module>eagle-storage-hbase</module>
         <module>eagle-storage-jdbc</module>
     </modules>
 
-	<properties>
-		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-	</properties>
+    <properties>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    </properties>
 
-	<dependencies>
-		<dependency>
-			<groupId>commons-logging</groupId>
-			<artifactId>commons-logging</artifactId>
-		</dependency>
-		<dependency>
-			<groupId>org.slf4j</groupId>
-			<artifactId>slf4j-api</artifactId>
-		</dependency>
-		<dependency>
-			<groupId>org.slf4j</groupId>
-			<artifactId>log4j-over-slf4j</artifactId>
-		</dependency>
-		<dependency>
-			<groupId>junit</groupId>
-			<artifactId>junit</artifactId>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>com.carrotsearch</groupId>
-			<artifactId>junit-benchmarks</artifactId>
-			<scope>test</scope>
-		</dependency>
-		<dependency>
-			<groupId>com.h2database</groupId>
-			<artifactId>h2</artifactId>
-			<scope>test</scope>
-		</dependency>
-	</dependencies>
+    <dependencies>
+        <dependency>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>slf4j-api</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.slf4j</groupId>
+            <artifactId>log4j-over-slf4j</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>com.carrotsearch</groupId>
+            <artifactId>junit-benchmarks</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>com.h2database</groupId>
+            <artifactId>h2</artifactId>
+            <scope>test</scope>
+        </dependency>
+    </dependencies>
 
-	<profiles>
-		<profile>
-			<id>dev</id>
-			<properties>
-				<env>dev</env>
-			</properties>
-			<activation>
-				<activeByDefault>true</activeByDefault>
-			</activation>
-		</profile>
-		<profile>
-			<id>test</id>
-			<properties>
-				<env>test</env>
-			</properties>
-		</profile>
-		<profile>
-			<id>prod</id>
-			<properties>
-				<env>prod</env>
-			</properties>
-		</profile>
-	</profiles>
+    <profiles>
+        <profile>
+            <id>dev</id>
+            <properties>
+                <env>dev</env>
+            </properties>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+        </profile>
+        <profile>
+            <id>test</id>
+            <properties>
+                <env>test</env>
+            </properties>
+        </profile>
+        <profile>
+            <id>prod</id>
+            <properties>
+                <env>prod</env>
+            </properties>
+        </profile>
+    </profiles>
 
-	<build>
-		<finalName>${project.name}-${project.version}</finalName>
-		<plugins>
-			<plugin>
-				<groupId>org.apache.maven.plugins</groupId>
-				<artifactId>maven-jar-plugin</artifactId>
-				<executions>
-					<execution>
-						<goals>
-							<goal>test-jar</goal>
-						</goals>
-					</execution>
-				</executions>
-			</plugin>
-		</plugins>
-		<resources>
-			<resource>
-				<directory>${basedir}/src/main/config/${env}</directory>
-			</resource>
-			<resource>
-				<directory>${basedir}/src/main/resources</directory>
-			</resource>
-		</resources>
-		<testResources>
-			<testResource>
-				<directory>${basedir}/src/test/config/${env}</directory>
-			</testResource>
-			<testResource>
-				<directory>${basedir}/src/test/resources</directory>
-			</testResource>
-		</testResources>
-	</build>
+    <build>
+        <finalName>${project.name}-${project.version}</finalName>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jar-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>test-jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+        <resources>
+            <resource>
+                <directory>${basedir}/src/main/config/${env}</directory>
+            </resource>
+            <resource>
+                <directory>${basedir}/src/main/resources</directory>
+            </resource>
+        </resources>
+        <testResources>
+            <testResource>
+                <directory>${basedir}/src/test/config/${env}</directory>
+            </testResource>
+            <testResource>
+                <directory>${basedir}/src/test/resources</directory>
+            </testResource>
+        </testResources>
+    </build>
 </project>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/a197eb02/eagle-core/pom.xml
----------------------------------------------------------------------
diff --git a/eagle-core/pom.xml b/eagle-core/pom.xml
index 1d2862d..9a3a0fa 100644
--- a/eagle-core/pom.xml
+++ b/eagle-core/pom.xml
@@ -16,14 +16,15 @@
   ~ limitations under the License.
   -->
 
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <parent>
-		<groupId>org.apache.eagle</groupId>
-		<artifactId>eagle-parent</artifactId>
+        <groupId>org.apache.eagle</groupId>
+        <artifactId>eagle-parent</artifactId>
         <version>0.5.0-incubating-SNAPSHOT</version>
         <relativePath>../pom.xml</relativePath>
-	</parent>
+    </parent>
 
     <artifactId>eagle-core</artifactId>
     <packaging>pom</packaging>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/a197eb02/eagle-dev/checkstyle-suppressions.xml
----------------------------------------------------------------------
diff --git a/eagle-dev/checkstyle-suppressions.xml b/eagle-dev/checkstyle-suppressions.xml
new file mode 100644
index 0000000..74b63c5
--- /dev/null
+++ b/eagle-dev/checkstyle-suppressions.xml
@@ -0,0 +1,23 @@
+<!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.1//EN"
+        "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
+
+<!--
+  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. See accompanying LICENSE file.
+-->
+
+<suppressions>
+    <!-- Suppresses files in the src/test folder. To be used for rules which only apply to
+         production code. -->
+    <suppress files="[\\/]src[\\/]test[\\/].*" id="ProductionScope"/>
+    <!-- Suppresses files in the src/main folder. To be used for rules which only apply to test
+         code. -->
+    <suppress files="[\\/]src[\\/]main[\\/].*" id="TestScope"/>
+</suppressions>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/a197eb02/eagle-dev/checkstyle.xml
----------------------------------------------------------------------
diff --git a/eagle-dev/checkstyle.xml b/eagle-dev/checkstyle.xml
new file mode 100644
index 0000000..3c9c244
--- /dev/null
+++ b/eagle-dev/checkstyle.xml
@@ -0,0 +1,255 @@
+<?xml version="1.0"?>
+<!--
+~ 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.
+-->
+<!DOCTYPE module PUBLIC
+        "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
+        "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
+<!--
+    Checkstyle configuration that checks the Google coding conventions from Google Java Style
+    that can be found at https://google.github.io/styleguide/javaguide.html.
+
+    Checkstyle is very configurable. Be sure to read the documentation at
+    http://checkstyle.sf.net (or in your downloaded distribution).
+
+    To completely disable a check, just comment it out or delete it from the file.
+
+    Authors: Max Vetrenko, Ruslan Diachenko, Roman Ivanov.
+ -->
+
+<module name="Checker">
+    <property name="charset" value="UTF-8"/>
+
+    <property name="severity" value="warning"/>
+
+    <property name="fileExtensions" value="java, properties, xml"/>
+
+    <!-- Checks for whitespace                               -->
+    <!-- See http://checkstyle.sf.net/config_whitespace.html -->
+    <module name="FileTabCharacter">
+        <property name="eachLine" value="true"/>
+    </module>
+
+    <!-- Make the @SuppressWarnings annotations available to Checkstyle -->
+    <module name="SuppressionCommentFilter"/>
+
+    <module name="TreeWalker">
+        <module name="OuterTypeFilename"/>
+        <module name="IllegalTokenText">
+            <property name="tokens" value="STRING_LITERAL, CHAR_LITERAL"/>
+            <property name="format"
+                      value="\\u00(08|09|0(a|A)|0(c|C)|0(d|D)|22|27|5(C|c))|\\(0(10|11|12|14|15|42|47)|134)"/>
+            <property name="message" value="Avoid using corresponding octal or Unicode escape."/>
+        </module>
+        <module name="AvoidEscapedUnicodeCharacters">
+            <property name="allowEscapesForControlCharacters" value="true"/>
+            <property name="allowByTailComment" value="true"/>
+            <property name="allowNonPrintableEscapes" value="true"/>
+        </module>
+        <module name="LineLength">
+            <property name="max" value="200"/>
+            <property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
+        </module>
+        <!--<module name="AvoidStarImport"/>-->
+        <module name="OneTopLevelClass"/>
+        <module name="NoLineWrap"/>
+        <module name="EmptyBlock">
+            <property name="option" value="TEXT"/>
+            <property name="tokens" value="LITERAL_TRY, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE, LITERAL_SWITCH"/>
+        </module>
+        <module name="NeedBraces"/>
+        <module name="LeftCurly">
+            <property name="maxLineLength" value="100"/>
+        </module>
+        <module name="RightCurly"/>
+        <module name="RightCurly">
+            <property name="option" value="alone"/>
+            <property name="tokens"
+                      value="CLASS_DEF, METHOD_DEF, CTOR_DEF, LITERAL_FOR, LITERAL_WHILE, LITERAL_DO, STATIC_INIT, INSTANCE_INIT"/>
+        </module>
+        <module name="WhitespaceAround">
+            <property name="allowEmptyConstructors" value="true"/>
+            <property name="allowEmptyMethods" value="true"/>
+            <property name="allowEmptyTypes" value="true"/>
+            <property name="allowEmptyLoops" value="true"/>
+            <message key="ws.notFollowed"
+                     value="WhitespaceAround: ''{0}'' is not followed by whitespace. Empty blocks may only be represented as '{}' when not part of a multi-block statement (4.1.3)"/>
+            <message key="ws.notPreceded"
+                     value="WhitespaceAround: ''{0}'' is not preceded with whitespace."/>
+        </module>
+        <module name="OneStatementPerLine"/>
+        <module name="MultipleVariableDeclarations"/>
+        <module name="ArrayTypeStyle"/>
+        <module name="MissingSwitchDefault"/>
+        <module name="FallThrough"/>
+        <module name="UpperEll"/>
+        <module name="ModifierOrder"/>
+        <module name="EmptyLineSeparator">
+            <property name="allowNoEmptyLineBetweenFields" value="true"/>
+            <property name="tokens"
+                      value="IMPORT, CLASS_DEF, INTERFACE_DEF, ENUM_DEF, STATIC_INIT, INSTANCE_INIT, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
+        </module>
+        <module name="SeparatorWrap">
+            <property name="tokens" value="DOT"/>
+            <property name="option" value="nl"/>
+        </module>
+        <module name="SeparatorWrap">
+            <property name="tokens" value="COMMA"/>
+            <property name="option" value="EOL"/>
+        </module>
+        <module name="PackageName">
+            <property name="format" value="^[a-z]+(\.[a-z][a-z0-9]*)*$"/>
+            <message key="name.invalidPattern"
+                     value="Package name ''{0}'' must match pattern ''{1}''."/>
+        </module>
+        <module name="TypeName">
+            <message key="name.invalidPattern"
+                     value="Type name ''{0}'' must match pattern ''{1}''."/>
+        </module>
+        <module name="MemberName">
+            <property name="format" value="^_*[a-z][a-z0-9][a-zA-Z0-9]*$"/>
+            <message key="name.invalidPattern"
+                     value="Member name ''{0}'' must match pattern ''{1}''."/>
+        </module>
+        <module name="ParameterName">
+            <property name="format" value="^[a-z][a-z0-9]*[a-zA-Z0-9]*$"/>
+            <message key="name.invalidPattern"
+                     value="Parameter name ''{0}'' must match pattern ''{1}''."/>
+        </module>
+        <module name="CatchParameterName">
+            <property name="format" value="^[a-z][a-z0-9]*[a-zA-Z0-9]*$"/>
+            <message key="name.invalidPattern"
+                     value="Catch parameter name ''{0}'' must match pattern ''{1}''."/>
+        </module>
+        <!-- Allow single char local variable -->
+        <module name="LocalVariableName">
+            <property name="tokens" value="VARIABLE_DEF"/>
+            <property name="format" value="^_*[a-z][a-z0-9]*[a-zA-Z0-9]*$"/>
+            <property name="allowOneCharVarInForLoop" value="true"/>
+            <message key="name.invalidPattern"
+                     value="Local variable name ''{0}'' must match pattern ''{1}''."/>
+        </module>
+        <module name="ClassTypeParameterName">
+            <property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
+            <message key="name.invalidPattern"
+                     value="Class type name ''{0}'' must match pattern ''{1}''."/>
+        </module>
+        <module name="MethodTypeParameterName">
+            <property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
+            <message key="name.invalidPattern"
+                     value="Method type name ''{0}'' must match pattern ''{1}''."/>
+        </module>
+        <module name="InterfaceTypeParameterName">
+            <property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
+            <message key="name.invalidPattern"
+                     value="Interface type name ''{0}'' must match pattern ''{1}''."/>
+        </module>
+        <module name="NoFinalizer"/>
+        <module name="GenericWhitespace">
+            <message key="ws.followed"
+                     value="GenericWhitespace ''{0}'' is followed by whitespace."/>
+            <message key="ws.preceded"
+                     value="GenericWhitespace ''{0}'' is preceded with whitespace."/>
+            <message key="ws.illegalFollow"
+                     value="GenericWhitespace ''{0}'' should followed by whitespace."/>
+            <message key="ws.notPreceded"
+                     value="GenericWhitespace ''{0}'' is not preceded with whitespace."/>
+        </module>
+
+        <!-- Default Google Java Style -->
+        <!--<module name="Indentation">-->
+        <!--<property name="basicOffset" value="2"/>-->
+        <!--<property name="braceAdjustment" value="0"/>-->
+        <!--<property name="caseIndent" value="2"/>-->
+        <!--<property name="throwsIndent" value="4"/>-->
+        <!--<property name="lineWrappingIndentation" value="4"/>-->
+        <!--<property name="arrayInitIndent" value="2"/>-->
+        <!--</module>-->
+
+        <!-- Eagle Java Style -->
+        <module name="Indentation">
+            <property name="basicOffset" value="4"/>
+            <property name="braceAdjustment" value="0"/>
+            <property name="caseIndent" value="4"/>
+            <property name="throwsIndent" value="4"/>
+            <property name="lineWrappingIndentation" value="4"/>
+            <property name="arrayInitIndent" value="4"/>
+        </module>
+        <module name="AbbreviationAsWordInName">
+            <property name="ignoreFinal" value="false"/>
+
+            <!-- Max length is for HTTPS -->
+            <property name="allowedAbbreviationLength" value="5"/>
+        </module>
+        <module name="OverloadMethodsDeclarationOrder"/>
+        <module name="VariableDeclarationUsageDistance"/>
+
+        <module name="CustomImportOrder">
+            <property name="specialImportsRegExp" value="org.apache.eagle"/>
+            <property name="sortImportsInGroupAlphabetically" value="true"/>
+            <property name="separateLineBetweenGroups" value="false"/>
+            <property name="customImportOrderRules" value="STATIC###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE###STANDARD_JAVA_PACKAGE"/>
+        </module>
+
+        <module name="MethodParamPad"/>
+        <module name="OperatorWrap">
+            <property name="option" value="NL"/>
+            <property name="tokens"
+                      value="BAND, BOR, BSR, BXOR, DIV, EQUAL, GE, GT, LAND, LE, LITERAL_INSTANCEOF, LOR, LT, MINUS, MOD, NOT_EQUAL, PLUS, QUESTION, SL, SR, STAR "/>
+        </module>
+        <module name="AnnotationLocation">
+            <property name="tokens" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF"/>
+        </module>
+        <module name="AnnotationLocation">
+            <property name="tokens" value="VARIABLE_DEF"/>
+            <property name="allowSamelineMultipleAnnotations" value="true"/>
+        </module>
+        <!--<module name="NonEmptyAtclauseDescription"/>-->
+        <module name="JavadocTagContinuationIndentation"/>
+        <module name="SummaryJavadoc">
+            <property name="forbiddenSummaryFragments"
+                      value="^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"/>
+        </module>
+        <module name="JavadocParagraph"/>
+        <module name="AtclauseOrder">
+            <property name="tagOrder" value="@param, @return, @throws, @deprecated"/>
+            <property name="target" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
+        </module>
+        <module name="JavadocMethod">
+            <property name="scope" value="public"/>
+            <property name="allowMissingParamTags" value="true"/>
+            <property name="allowMissingThrowsTags" value="true"/>
+            <property name="allowMissingReturnTag" value="true"/>
+            <!-- Allow missing java doc -->
+            <property name="allowMissingJavadoc" value="true"/>
+            <property name="minLineCount" value="2"/>
+            <property name="allowedAnnotations" value="Override, Test"/>
+            <property name="allowThrowsTagsForSubclasses" value="true"/>
+        </module>
+        <module name="MethodName">
+            <property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9_]*$"/>
+            <message key="name.invalidPattern"
+                     value="Method name ''{0}'' must match pattern ''{1}''."/>
+        </module>
+        <module name="SingleLineJavadoc">
+            <property name="ignoreInlineTags" value="false"/>
+        </module>
+        <module name="EmptyCatchBlock">
+            <property name="exceptionVariableName" value="expected"/>
+        </module>
+        <module name="CommentsIndentation"/>
+    </module>
+</module>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/a197eb02/eagle-dev/checkstyle/eagle_checks.xml
----------------------------------------------------------------------
diff --git a/eagle-dev/checkstyle/eagle_checks.xml b/eagle-dev/checkstyle/eagle_checks.xml
deleted file mode 100644
index 5b410fe..0000000
--- a/eagle-dev/checkstyle/eagle_checks.xml
+++ /dev/null
@@ -1,279 +0,0 @@
-<?xml version="1.0"?>
-<!--
-~ 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.
--->
-<!DOCTYPE module PUBLIC
-        "-//Puppy Crawl//DTD Check Configuration 1.3//EN"
-        "http://www.puppycrawl.com/dtds/configuration_1_3.dtd">
-
-<!--
-
-    Checkstyle configuration that checks the Google coding conventions from:
-
-    -  Google Java Style
-       https://google-styleguide.googlecode.com/svn-history/r130/trunk/javaguide.html
-
-    Checkstyle is very configurable. Be sure to read the documentation at
-    http://checkstyle.sf.net (or in your downloaded distribution).
-
-    Most Checks are configurable, be sure to consult the documentation.
-
-    To completely disable a check, just comment it out or delete it from the file.
-
-    Copied from https://github.com/checkstyle/checkstyle/blob/master/google_checks.xml
-
- -->
-
-<module name = "Checker">
-    <property name="charset" value="UTF-8"/>
-
-    <property name="severity" value="warning"/>
-
-    <!-- Checks for whitespace                               -->
-    <!-- See http://checkstyle.sf.net/config_whitespace.html -->
-    <module name="FileTabCharacter">
-        <property name="eachLine" value="true"/>
-    </module>
-    <module name="RegexpSingleline">
-        <property name="format" value="@throw.*\.$"/>
-        <property name="message" value="Period is not needed at the end of the @throw tag."/>
-        <property name="fileExtensions" value=".java"/>
-    </module>
-    <module name="RegexpSingleline">
-        <property name="format" value="@return.*\.$"/>
-        <property name="message" value="Period is not needed at the end of the @return tag."/>
-        <property name="fileExtensions" value=".java"/>
-    </module>
-    <module name="RegexpSingleline">
-        <property name="format" value="@param.*\.$"/>
-        <property name="message" value="Period is not needed at the end of the @param tag."/>
-        <property name="fileExtensions" value=".java"/>
-    </module>
-    <module name="RegexpSingleline">
-        <property name="format" value="TODO[^\(]"/>
-        <property name="message" value="TODO must be annotated with the author in the format TODO(author)"/>
-        <property name="fileExtensions" value=".java"/>
-    </module>
-    <module name="RegexpSingleline">
-        <property name="format" value="&gt;&gt;&gt;&gt;&gt;&gt;&gt;"/>
-        <property name="message" value="Merge conflicts unresolved."/>
-    </module>
-    <module name="RegexpSingleline">
-        <property name="format" value="&lt;&lt;&lt;&lt;&lt;&lt;&lt;"/>
-        <property name="message" value="Merge conflicts unresolved."/>
-    </module>
-    <module name="RegexpMultiline">
-        <property name="format" value="\n{3}"/>
-        <property name="fileExtensions" value=".java"/>
-        <property name="message" value="Extra newline"/>
-    </module>
-
-    <!-- All Java AST specific tests live under TreeWalker module. -->
-    <module name="TreeWalker">
-        <!-- Checks that a class which has only private constructors is declared as final. -->
-        <module name="FinalClass"/>
-        <module name="OuterTypeFilename"/>
-        <module name="IllegalTokenText">
-            <property name="tokens" value="STRING_LITERAL, CHAR_LITERAL"/>
-            <property name="format"
-                      value="\\u00(08|09|0(a|A)|0(c|C)|0(d|D)|22|27|5(C|c))|\\(0(10|11|12|14|15|42|47)|134)"/>
-            <property name="message" value="Avoid using corresponding octal or Unicode escape."/>
-        </module>
-        <module name="AvoidEscapedUnicodeCharacters">
-            <property name="allowEscapesForControlCharacters" value="true"/>
-            <property name="allowByTailComment" value="true"/>
-            <property name="allowNonPrintableEscapes" value="true"/>
-        </module>
-        <module name="LineLength">
-            <property name="max" value="100"/>
-            <property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
-        </module>
-        <module name="AvoidStarImport"/>
-        <module name="UnusedImports">
-            <property name="processJavadoc" value="true"/>
-        </module>
-        <module name="OneTopLevelClass"/>
-        <module name="NoLineWrap"/>
-        <module name="EmptyBlock">
-            <property name="option" value="TEXT"/>
-            <property name="tokens" value="LITERAL_TRY, LITERAL_CATCH, LITERAL_FINALLY, LITERAL_IF,
-        LITERAL_ELSE, LITERAL_SWITCH"/>
-        </module>
-        <module name="NeedBraces"/>
-        <module name="LeftCurly">
-            <property name="maxLineLength" value="100"/>
-        </module>
-        <module name="RightCurly"/>
-        <module name="RightCurly">
-            <property name="option" value="alone"/>
-            <property name="tokens" value="CLASS_DEF, METHOD_DEF, CTOR_DEF, LITERAL_FOR, LITERAL_WHILE,
-        LITERAL_DO, STATIC_INIT, INSTANCE_INIT"/>
-        </module>
-        <module name="WhitespaceAround">
-            <property name="allowEmptyConstructors" value="true"/>
-            <property name="allowEmptyMethods" value="true"/>
-            <property name="allowEmptyTypes" value="true"/>
-            <property name="allowEmptyLoops" value="true"/>
-            <message key="ws.notFollowed"
-                     value="WhitespaceAround: ''{0}'' is not followed by whitespace."/>
-            <message key="ws.notPreceded"
-                     value="WhitespaceAround: ''{0}'' is not preceded with whitespace."/>
-        </module>
-        <module name="OneStatementPerLine"/>
-        <module name="EmptyStatement"/>
-        <module name="MultipleVariableDeclarations"/>
-        <module name="ArrayTypeStyle"/>
-        <module name="MissingSwitchDefault"/>
-        <module name="FallThrough"/>
-        <module name="UpperEll"/>
-        <module name="ModifierOrder"/>
-        <module name="EmptyLineSeparator">
-            <property name="allowNoEmptyLineBetweenFields" value="true"/>
-        </module>
-        <module name="SeparatorWrap">
-            <property name="tokens" value="DOT"/>
-            <property name="option" value="nl"/>
-        </module>
-        <module name="SeparatorWrap">
-            <property name="tokens" value="COMMA"/>
-            <property name="option" value="EOL"/>
-        </module>
-        <module name="PackageName">
-            <property name="format" value="^[a-z]+(\.[a-z][a-z0-9]*)*$"/>
-            <message key="name.invalidPattern"
-                     value="Package name ''{0}'' must match pattern ''{1}''."/>
-        </module>
-        <module name="TypeName">
-            <message key="name.invalidPattern"
-                     value="Type name ''{0}'' must match pattern ''{1}''."/>
-        </module>
-        <module name="MemberName">
-            <property name="format" value="^m[A-Z][a-zA-Z0-9]*$"/>
-            <message key="name.invalidPattern"
-                     value="Member name ''{0}'' must match pattern ''{1}''."/>
-        </module>
-        <module name="ConstantName"/>
-        <module name="ParameterName">
-            <property name="format" value="[a-zA-Z0-9]*$"/>
-            <message key="name.invalidPattern"
-                     value="Parameter name ''{0}'' must match pattern ''{1}''."/>
-        </module>
-        <module name="LocalVariableName">
-            <property name="tokens" value="VARIABLE_DEF"/>
-            <property name="format" value="^[a-z][a-zA-Z0-9]*$"/>
-            <property name="allowOneCharVarInForLoop" value="true"/>
-            <message key="name.invalidPattern"
-                     value="Local variable name ''{0}'' must match pattern ''{1}''."/>
-        </module>
-        <module name="ClassTypeParameterName">
-            <property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
-            <message key="name.invalidPattern"
-                     value="Class type name ''{0}'' must match pattern ''{1}''."/>
-        </module>
-        <module name="MethodTypeParameterName">
-            <property name="format" value="(^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)"/>
-            <message key="name.invalidPattern"
-                     value="Method type name ''{0}'' must match pattern ''{1}''."/>
-        </module>
-        <module name="NoFinalizer"/>
-        <module name="GenericWhitespace">
-            <message key="ws.followed"
-                     value="GenericWhitespace ''{0}'' is followed by whitespace."/>
-            <message key="ws.preceded"
-                     value="GenericWhitespace ''{0}'' is preceded with whitespace."/>
-            <message key="ws.illegalFollow"
-                     value="GenericWhitespace ''{0}'' should followed by whitespace."/>
-            <message key="ws.notPreceded"
-                     value="GenericWhitespace ''{0}'' is not preceded with whitespace."/>
-        </module>
-        <module name="Indentation">
-            <property name="basicOffset" value="2"/>
-            <property name="braceAdjustment" value="0"/>
-            <property name="caseIndent" value="2"/>
-            <property name="throwsIndent" value="4"/>
-            <property name="lineWrappingIndentation" value="4"/>
-            <property name="arrayInitIndent" value="2"/>
-        </module>
-        <module name="OverloadMethodsDeclarationOrder"/>
-        <!-- Checks that our import order rules are followed. -->
-        <module name="CustomImportOrder">
-            <property name="specialImportsRegExp" value="eagle"/>
-            <property name="customImportOrderRules" value="STATIC###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE###STANDARD_JAVA_PACKAGE"/>
-        </module>
-        <module name="MethodParamPad"/>
-        <module name="ParenPad">
-            <property name="option" value="nospace"/>
-        </module>
-        <module name="OperatorWrap">
-            <property name="option" value="NL"/>
-            <property name="tokens" value="BAND, BOR, BSR, BXOR, DIV, EQUAL, GE, GT, LAND, LE,
-        LITERAL_INSTANCEOF, LOR, LT, MINUS, MOD, NOT_EQUAL, PLUS, QUESTION, SL, SR, STAR "/>
-        </module>
-        <module name="StaticVariableName">
-            <property name="format" value="^s[A-Z][a-zA-Z0-9]*$"/>
-            <message key="name.invalidPattern"
-                     value="Static member name ''{0}'' must match pattern ''{1}''."/>
-        </module>
-        <module name="RegexpSinglelineJava">
-            <property name="format" value="^\s*this\."/>
-            <property name="message" value="keyword this is not needed"/>
-        </module>
-        <module name="MissingDeprecated"/>
-        <module name="EqualsHashCode"/>
-
-        <!-- Checks the Javadoc of a public method or constructor. Only applies to production code. -->
-        <module name="JavadocMethod">
-            <property name="id" value="ProductionScope"/>
-            <property name="scope" value="public"/>
-        </module>
-        <!-- Checks Javadoc comments for public class and interface definitions. Only applies to
-             production code -->
-        <module name="JavadocType">
-            <property name="id" value="ProductionScope"/>
-            <property name="scope" value="public"/>
-        </module>
-        <!-- Checks that Javadoc is properly formatted -->
-        <module name="JavadocStyle"/>
-
-        <!-- Checks that there is no whitespace before various unary operators. -->
-        <module name="NoWhitespaceBefore">
-            <property name="tokens" value="POST_DEC, POST_INC"/>
-            <property name="severity" value="error"/>
-        </module>
-
-        <!-- Checks that there is no whitespace before dot and semicolon, except line-breaks. -->
-        <module name="NoWhitespaceBefore">
-            <property name="tokens" value="DOT, SEMI"/>
-            <property name="allowLineBreaks" value="true"/>
-            <property name="severity" value="error"/>
-        </module>
-
-        <!-- Checks that there is no whitespace after various unary operators. -->
-        <module name="NoWhitespaceAfter">
-            <property name="tokens" value="BNOT, DEC, DOT, INC, LNOT, UNARY_MINUS, UNARY_PLUS"/>
-            <property name="severity" value="error"/>
-        </module>
-
-        <!-- Checks that there is whitespace after various tokens. -->
-        <module name="WhitespaceAfter"/>
-
-    </module>
-    <module name="RegexpSingleline">
-        <property name="format" value="\s+$"/>
-        <property name="message" value="Trailing whitespace found."/>
-        <property name="fileExtensions" value=".java"/>
-    </module>
-</module>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/a197eb02/eagle-dev/checkstyle/suppressions.xml
----------------------------------------------------------------------
diff --git a/eagle-dev/checkstyle/suppressions.xml b/eagle-dev/checkstyle/suppressions.xml
deleted file mode 100644
index 6f47cae..0000000
--- a/eagle-dev/checkstyle/suppressions.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<!--
-  ~ 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.
-  -->
-<!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.1//EN"
-        "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
-<suppressions>
-    <!-- Suppresses files in the src/test folder. To be used for rules which only apply to
-         production code. -->
-    <suppress files="[\\/]src[\\/]test[\\/].*" id="ProductionScope" />
-    <!-- Suppresses files in the src/main folder. To be used for rules which only apply to test
-         code. -->
-    <suppress files="[\\/]src[\\/]main[\\/].*" id="TestScope" />
-</suppressions>

http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/a197eb02/eagle-dev/eclipse-java-templates.xml
----------------------------------------------------------------------
diff --git a/eagle-dev/eclipse-java-templates.xml b/eagle-dev/eclipse-java-templates.xml
index 8ccc558..ca89d48 100644
--- a/eagle-dev/eclipse-java-templates.xml
+++ b/eagle-dev/eclipse-java-templates.xml
@@ -1,20 +1,25 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="false" context="newtype_context" deleted="false" description="Newly created files" enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.newtype" name="newtype">/*
- * 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_declaration}
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<templates>
+    <template autoinsert="false" context="newtype_context" deleted="false" description="Newly created files"
+              enabled="true" id="org.eclipse.jdt.ui.text.codetemplates.newtype" name="newtype">/*
+        * 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_declaration}
 
-${typecomment}
-${type_declaration}</template></templates>
\ No newline at end of file
+        ${typecomment}
+        ${type_declaration}
+    </template>
+</templates>
\ No newline at end of file


Mime
View raw message