Author: closettop_nightlybuild Date: 2013-01-09 14:01:01-0800 New Revision: 19908
Modified: trunk/src/argouml-app/src/org/argouml/cognitive/Agency.java Log: Fixed checkstyle problems after switch to java logging. A small fix. Contributed-by: Linus Tolke Change-Id: If7ea9217c1d2bb8f938705f3604a40ac510e1276 Modified: trunk/src/argouml-app/src/org/argouml/cognitive/Agency.java Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/cognitive/Agency.java?view=diff&pathrev=19908&r1=19907&r2=19908 ============================================================================== --- trunk/src/argouml-app/src/org/argouml/cognitive/Agency.java (original) +++ trunk/src/argouml-app/src/org/argouml/cognitive/Agency.java 2013-01-09 14:01:01-0800 @@ -1,6 +1,6 @@ /* $Id$ ***************************************************************************** - * Copyright (c) 2009-2012 Contributors - see below + * Copyright (c) 2009-2013 Contributors - see below * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -191,16 +191,19 @@ try { crClass = Class.forName(crClassName); } catch (java.lang.ClassNotFoundException e) { - LOG.log(Level.SEVERE, "Error loading cr " + crClassName, e); + LOG.log(Level.SEVERE, + "Error loading cr " + crClassName, e); return; } try { cr = (Critic) crClass.newInstance(); } catch (java.lang.IllegalAccessException e) { - LOG.log(Level.SEVERE, "Error instancating cr " + crClassName, e); + LOG.log(Level.SEVERE, + "Error instancating cr " + crClassName, e); return; } catch (java.lang.InstantiationException e) { - LOG.log(Level.SEVERE, "Error instancating cr " + crClassName, e); + LOG.log(Level.SEVERE, + "Error instancating cr " + crClassName, e); return; } singletonCritics.put(crClassName, cr); @@ -355,9 +358,10 @@ try { c.critique(dm, d); } catch (Exception ex) { - LOG.log(Level.SEVERE, "Disabling critique due to exception\n" - + c + "\n" + dm, - ex); + LOG.log(Level.SEVERE, + "Disabling critique due to exception\n" + + c + "\n" + dm, + ex); c.setEnabled(false); } } ------------------------------------------------------ http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=3042232 To unsubscribe from this discussion, e-mail: [[email protected]].
