Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AD279108B8 for ; Sun, 16 Mar 2014 19:34:45 +0000 (UTC) Received: (qmail 58369 invoked by uid 500); 16 Mar 2014 19:34:43 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 58208 invoked by uid 500); 16 Mar 2014 19:34:43 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 58197 invoked by uid 99); 16 Mar 2014 19:34:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Mar 2014 19:34:42 +0000 Date: Sun, 16 Mar 2014 19:34:42 +0000 (UTC) From: "Andre Diermann (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SANDBOX-471) Typos and codestyle violations MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SANDBOX-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13937295#comment-13937295 ] Andre Diermann commented on SANDBOX-471: ---------------------------------------- Very strange! I am using the codestyle from maven [1], where SPACE_WITHIN_ANNOTATION_PARENTHESES is set to true. When I enable/disable this option in the preferences of IntelliJ the preview shows the correct behavior. But when I add the spaces in code and do code formatting the spaces are removed?!?! So you are totally right! Regarding the white spaces rule from [2] there should be spaces between the braces. I really don't know why IntelliJ removes the spaces. Big sorry for inconvenience! I will update the patch ASAP. [1] https://maven.apache.org/developers/maven-idea-codestyle.xml [2] https://maven.apache.org/developers/conventions/code.html > Typos and codestyle violations > ------------------------------ > > Key: SANDBOX-471 > URL: https://issues.apache.org/jira/browse/SANDBOX-471 > Project: Commons Sandbox > Issue Type: Improvement > Components: BeanUtils2 > Reporter: Andre Diermann > Priority: Minor > Attachments: Commons-Sandbox-471.patch > > > The GetPropertyTestCase contained two typos in method names and some codestyle violations in regards to Maven codestyle. > This patch corrected the typos and reformatted the code. > (Since it's a small and minor priority patch I hope it's ok to do both in one patch?!) -- This message was sent by Atlassian JIRA (v6.2#6252)