| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| 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"> |
| |
| <!-- |
| This configuration file was written by the eclipse-cs plugin configuration editor |
| --> |
| <!-- |
| Checkstyle-Configuration: Olingo |
| Description: none |
| --> |
| <module name="Checker"> |
| <property name="severity" value="warning"/> |
| <module name="TreeWalker"> |
| <module name="IllegalImport"> |
| <property name="severity" value="info"/> |
| <property name="illegalPkgs" value="java.awt, javax.swing"/> |
| </module> |
| <module name="IllegalCatch"> |
| <property name="severity" value="error"/> |
| <property name="illegalClassNames" value="java.lang.Error, java.lang.Throwable"/> |
| </module> |
| <module name="UnusedImports"> |
| <property name="severity" value="info"/> |
| </module> |
| <module name="NoFinalizer"> |
| <property name="severity" value="error"/> |
| </module> |
| <module name="RegexpSinglelineJava"> |
| <property name="severity" value="warning"/> |
| <property name="format" value="System\.exit|System\.gc\(\)|System\.runFinalization\(\)|System\.setErr|System\.setIn|System\.setOut|System\.setProperties|System\.setProperty|System\.setSecurityManager|extends[ \t]+Throwable|extends[ \t]+java\.lang\.Throwable|extends[ \t]+Error|extends[ \t]+java\.lang\.Error"/> |
| <property name="ignoreComments" value="true"/> |
| </module> |
| <module name="DefaultComesLast"> |
| <property name="severity" value="warning"/> |
| </module> |
| <module name="EmptyBlock"> |
| <property name="severity" value="warning"/> |
| <property name="option" value="text"/> |
| <property name="tokens" value="LITERAL_WHILE,LITERAL_FINALLY,LITERAL_IF"/> |
| </module> |
| <module name="LeftCurly"> |
| <property name="severity" value="warning"/> |
| </module> |
| <module name="NeedBraces"> |
| <property name="severity" value="warning"/> |
| </module> |
| <module name="RightCurly"> |
| <property name="severity" value="warning"/> |
| </module> |
| <module name="LineLength"> |
| <property name="max" value="120"/> |
| </module> |
| <module name="SuppressionCommentFilter"/> |
| </module> |
| </module> |