accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From medi...@apache.org
Subject svn commit: r1453653 - in /accumulo/trunk: contrib/Eclipse-Accumulo-Codestyle.xml contrib/checkstyle/checkstyle.xml pom.xml
Date Thu, 07 Mar 2013 01:49:17 GMT
Author: medined
Date: Thu Mar  7 01:49:17 2013
New Revision: 1453653

URL: http://svn.apache.org/r1453653
Log:
ACCUMULO-1158: changed eclipse code style so spaces are not added to blank lines. changed
pom.xml so that thrift directories are excluded from checkstyle. Added NewlineAtEndOfFile
rule to checkstyle since all files pass.

Modified:
    accumulo/trunk/contrib/Eclipse-Accumulo-Codestyle.xml
    accumulo/trunk/contrib/checkstyle/checkstyle.xml
    accumulo/trunk/pom.xml

Modified: accumulo/trunk/contrib/Eclipse-Accumulo-Codestyle.xml
URL: http://svn.apache.org/viewvc/accumulo/trunk/contrib/Eclipse-Accumulo-Codestyle.xml?rev=1453653&r1=1453652&r2=1453653&view=diff
==============================================================================
--- accumulo/trunk/contrib/Eclipse-Accumulo-Codestyle.xml (original)
+++ accumulo/trunk/contrib/Eclipse-Accumulo-Codestyle.xml Thu Mar  7 01:49:17 2013
@@ -1,20 +1,4 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!--
-  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.
--->
 <profiles version="12">
 <profile kind="CodeFormatterProfile" name="Accumulo" version="12">
 <setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags"
value="insert"/>
@@ -175,7 +159,7 @@
 <setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration"
value="16"/>
 <setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert"/>
 <setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator" value="insert"/>
-<setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="true"/>
+<setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false"/>
 <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized"
value="do not insert"/>
 <setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast"
value="insert"/>
 <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters"
value="insert"/>

Modified: accumulo/trunk/contrib/checkstyle/checkstyle.xml
URL: http://svn.apache.org/viewvc/accumulo/trunk/contrib/checkstyle/checkstyle.xml?rev=1453653&r1=1453652&r2=1453653&view=diff
==============================================================================
Binary files - no diff available.

Modified: accumulo/trunk/pom.xml
URL: http://svn.apache.org/viewvc/accumulo/trunk/pom.xml?rev=1453653&r1=1453652&r2=1453653&view=diff
==============================================================================
--- accumulo/trunk/pom.xml (original)
+++ accumulo/trunk/pom.xml Thu Mar  7 01:49:17 2013
@@ -78,6 +78,7 @@
         <version>2.10</version>
         <configuration>
           <configLocation>contrib/checkstyle/checkstyle.xml</configLocation>
+          <excludes>**/thrift/*.java</excludes>
         </configuration>
       </plugin>
       <plugin>



Mime
View raw message