[FOray-commit] SF.net SVN: foray: [8001] trunk/foray
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-09-08 03:30:38
|
Revision: 8001
http://svn.sourceforge.net/foray/?rev=8001&view=rev
Author: victormote
Date: 2006-09-07 20:30:12 -0700 (Thu, 07 Sep 2006)
Log Message:
-----------
Style changes only.
Modified Paths:
--------------
trunk/foray/foray-app/src/java/org/foray/app/AWTStarter.java
trunk/foray/foray-app/src/java/org/foray/app/CommandLineOptions.java
trunk/foray/foray-app/src/java/org/foray/app/Options.java
trunk/foray/foray-app/src/java/org/foray/app/PrintStarter.java
trunk/foray/foray-app/src/java/org/foray/app/ant/RunTest.java
trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoAWTViewer.java
trunk/foray/foray-app/src/java/org/foray/demo/embed/model/ProjectTeamXMLReader.java
trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java
trunk/foray/foray-common/src/java/org/foray/common/ClassService.java
trunk/foray/foray-common/src/java/org/foray/common/Configuration.java
trunk/foray/foray-common/src/java/org/foray/common/RandomReader.java
trunk/foray/foray-common/src/java/org/foray/common/RandomReaderArray.java
trunk/foray/foray-common/src/java/org/foray/common/sax/DocumentReader.java
trunk/foray/foray-core/src/java/org/foray/core/ConfigurationParser.java
trunk/foray/foray-core/src/java/org/foray/core/FOrayDocument.java
trunk/foray/foray-core/src/java/org/foray/core/FOrayException.java
trunk/foray/scripts/checkstyle-config.xml
Modified: trunk/foray/foray-app/src/java/org/foray/app/AWTStarter.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/AWTStarter.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-app/src/java/org/foray/app/AWTStarter.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -125,7 +125,7 @@
} catch (final Exception e) {
frame.reportException(e);
if (e instanceof FOrayException) {
- throw (FOrayException)e;
+ throw (FOrayException) e;
}
throw new FOrayException(e);
}
Modified: trunk/foray/foray-app/src/java/org/foray/app/CommandLineOptions.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/CommandLineOptions.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-app/src/java/org/foray/app/CommandLineOptions.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -465,7 +465,7 @@
getRendererOptions(), this);
} catch (final Exception e) {
if (e instanceof FOrayException) {
- throw (FOrayException)e;
+ throw (FOrayException) e;
}
throw new FOrayException("AWTStarter could not be loaded.", e);
}
@@ -476,7 +476,7 @@
getRendererOptions(), this);
} catch (final Exception e) {
if (e instanceof FOrayException) {
- throw (FOrayException)e;
+ throw (FOrayException) e;
}
throw new FOrayException("PrintStarter could not be loaded.",
e);
Modified: trunk/foray/foray-app/src/java/org/foray/app/Options.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/Options.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-app/src/java/org/foray/app/Options.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -131,8 +131,8 @@
}
if (e instanceof SAXException) {
e.printStackTrace();
- if (((SAXException)e).getException() != null) {
- ((SAXException)e).getException().printStackTrace();
+ if (((SAXException) e).getException() != null) {
+ ((SAXException) e).getException().printStackTrace();
}
} else {
e.printStackTrace();
Modified: trunk/foray/foray-app/src/java/org/foray/app/PrintStarter.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/PrintStarter.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-app/src/java/org/foray/app/PrintStarter.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -77,7 +77,7 @@
session.process();
} catch (final Exception e) {
if (e instanceof FOrayException) {
- throw (FOrayException)e;
+ throw (FOrayException) e;
}
throw new FOrayException(e);
}
Modified: trunk/foray/foray-app/src/java/org/foray/app/ant/RunTest.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/app/ant/RunTest.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-app/src/java/org/foray/app/ant/RunTest.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -105,7 +105,7 @@
for (final Iterator keys = diff.keySet().iterator();
keys.hasNext(); ) {
final Object fname = keys.next();
- final Boolean pass = (Boolean)diff.get(fname);
+ final Boolean pass = (Boolean) diff.get(fname);
logger.info("file: " + fname
+ " - reference success: " + pass);
if (pass.booleanValue()) {
@@ -203,7 +203,7 @@
meth = cla.getMethod("runTests", new Class[] {
String.class, String.class, String.class
});
- diff = (HashMap)meth.invoke(tc, new Object[] {
+ diff = (HashMap) meth.invoke(tc, new Object[] {
testsuite, dest, compDir
});
} catch (final Exception e) {
Modified: trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoAWTViewer.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoAWTViewer.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-app/src/java/org/foray/demo/embed/DemoAWTViewer.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -145,7 +145,7 @@
} catch (final Exception e) {
frame.reportException(e);
if (e instanceof FOrayException) {
- throw (FOrayException)e;
+ throw (FOrayException) e;
}
throw new FOrayException(e);
}
Modified: trunk/foray/foray-app/src/java/org/foray/demo/embed/model/ProjectTeamXMLReader.java
===================================================================
--- trunk/foray/foray-app/src/java/org/foray/demo/embed/model/ProjectTeamXMLReader.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-app/src/java/org/foray/demo/embed/model/ProjectTeamXMLReader.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -48,7 +48,7 @@
public void parse(final InputSource input) throws IOException,
SAXException {
if (input instanceof ProjectTeamInputSource) {
- parse(((ProjectTeamInputSource)input).getProjectTeam());
+ parse(((ProjectTeamInputSource) input).getProjectTeam());
} else {
throw new SAXException("Unsupported InputSource specified. Must "
+ "be a ProjectTeamInputSource");
@@ -100,7 +100,7 @@
this.getHandler().element("projectname", projectTeam.getProjectName());
final Iterator i = projectTeam.getMembers().iterator();
while (i.hasNext()) {
- final ProjectMember member = (ProjectMember)i.next();
+ final ProjectMember member = (ProjectMember) i.next();
generateFor(member);
}
this.getHandler().endElement("projectteam");
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -80,7 +80,7 @@
while (areaNode != null && !(areaNode instanceof BlockContainerRA)) {
areaNode = areaNode.getAreaNodeParent();
}
- return (BlockContainerRA)areaNode;
+ return (BlockContainerRA) areaNode;
}
public boolean generatedByExists() {
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/LineArea.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -109,7 +109,7 @@
for (int i = 0; i < children.size(); i++) {
final Object o = children.get(i);
if (o instanceof PageNumberCitationArea) {
- final PageNumberCitationArea pia = (PageNumberCitationArea)o;
+ final PageNumberCitationArea pia = (PageNumberCitationArea) o;
pia.resolve();
}
}
@@ -422,7 +422,7 @@
for (int i = 0; i < children.size(); i++) {
final Object o = children.get(i);
if (o instanceof AbstractInlineArea) {
- final AbstractInlineArea ia = (AbstractInlineArea)o;
+ final AbstractInlineArea ia = (AbstractInlineArea) o;
if (ia.crBPD() > maxHeight) {
maxHeight = ia.crBPD();
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -68,9 +68,9 @@
int span = Constants.FOVAL_NONE;
if (fo instanceof Block) {
- span = ((Block)fo).traitSpan(this);
+ span = ((Block) fo).traitSpan(this);
} else if (fo instanceof BlockContainer) {
- span = ((BlockContainer)fo).traitSpan(this);
+ span = ((BlockContainer) fo).traitSpan(this);
}
if (this.getChildren().isEmpty()) {
@@ -133,7 +133,7 @@
}
final List spanAreas = this.getChildren();
- final SpanRA spanArea = (SpanRA)spanAreas.get(spanAreas.size()
+ final SpanRA spanArea = (SpanRA) spanAreas.get(spanAreas.size()
- 1);
if (spanArea.isBalanced()) {
@@ -142,9 +142,9 @@
int span = Constants.FOVAL_NONE;
if (fo instanceof Block) {
- span = ((Block)fo).traitSpan(this);
+ span = ((Block) fo).traitSpan(this);
} else if (fo instanceof BlockContainer) {
- span = ((BlockContainer)fo).traitSpan(this);
+ span = ((BlockContainer) fo).traitSpan(this);
}
if ((span == Constants.FOVAL_ALL)
@@ -172,7 +172,7 @@
*/
public void resetSpanArea() {
final List spanAreas = this.getChildren();
- final SpanRA spanArea = (SpanRA)spanAreas.get(spanAreas.size() - 1);
+ final SpanRA spanArea = (SpanRA) spanAreas.get(spanAreas.size() - 1);
if (!spanArea.isBalanced()) {
// span area maintains a record of the total height of
@@ -199,7 +199,7 @@
*/
public boolean isLastColumn() {
final List spanAreas = this.getChildren();
- final SpanRA spanArea = (SpanRA)spanAreas.get(spanAreas.size() - 1);
+ final SpanRA spanArea = (SpanRA) spanAreas.get(spanAreas.size() - 1);
return spanArea.isLastColumn();
}
@@ -214,7 +214,7 @@
public NormalFlowRA getCurrentColumnArea() {
final List spanAreas = this.getChildren();
- final SpanRA spanArea = (SpanRA)spanAreas.get(spanAreas.size() - 1);
+ final SpanRA spanArea = (SpanRA) spanAreas.get(spanAreas.size() - 1);
return spanArea.getCurrentColumnArea();
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -465,7 +465,7 @@
if (retrieve.traitRetrievePosition()
== Constants.FOVAL_FIRST_INCLUDING_CARRYOVER) {
for (int i = 0; i < pageMarkers.size(); i++) {
- final Marker currentMarker = (Marker)pageMarkers.get(i);
+ final Marker currentMarker = (Marker) pageMarkers.get(i);
if (currentMarker.traitMarkerClassName().equals(
retrieve.traitRetrieveClassName())) {
return currentMarker;
@@ -474,7 +474,7 @@
} else if (retrieve.traitRetrievePosition()
== Constants.FOVAL_FIRST_STARTING_WITHIN_PAGE) {
for (int i = 0; i < pageMarkers.size(); i++) {
- final Marker currentMarker = (Marker)pageMarkers.get(i);
+ final Marker currentMarker = (Marker) pageMarkers.get(i);
if (currentMarker.traitMarkerClassName().equals(
retrieve.traitRetrieveClassName())) {
if (startsHere(currentMarker)) {
@@ -485,7 +485,7 @@
} else if (retrieve.traitRetrievePosition()
== Constants.FOVAL_LAST_STARTING_WITHIN_PAGE) {
for (int i = pageMarkers.size() - 1; i >= 0; i--) {
- final Marker currentMarker = (Marker)pageMarkers.get(i);
+ final Marker currentMarker = (Marker) pageMarkers.get(i);
if (currentMarker.traitMarkerClassName().equals(
retrieve.traitRetrieveClassName())) {
if (startsHere(currentMarker)) {
@@ -496,7 +496,7 @@
} else if (retrieve.traitRetrievePosition()
== Constants.FOVAL_LAST_ENDING_WITHIN_PAGE) {
for (int i = pageMarkers.size() - 1; i >= 0; i--) {
- final Marker currentMarker = (Marker)pageMarkers.get(i);
+ final Marker currentMarker = (Marker) pageMarkers.get(i);
if (currentMarker.traitMarkerClassName().equals(
retrieve.traitRetrieveClassName())) {
if (endsHere(currentMarker)) {
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -89,7 +89,7 @@
}
public NormalFlowRA getCurrentColumnArea() {
- return (NormalFlowRA)getChildren().get(currentColumn - 1);
+ return (NormalFlowRA) getChildren().get(currentColumn - 1);
}
public boolean isBalanced() {
@@ -104,7 +104,7 @@
int totalContentHeight = 0;
for (final Iterator e = getChildren().iterator(); e.hasNext(); ) {
totalContentHeight +=
- ((NormalFlowRA)e.next()).crBPD();
+ ((NormalFlowRA) e.next()).crBPD();
}
return totalContentHeight;
}
@@ -112,7 +112,7 @@
public int getMaxContentHeight() {
int maxContentHeight = 0;
for (final Iterator e = getChildren().iterator(); e.hasNext(); ) {
- final NormalFlowRA nextElm = (NormalFlowRA)e.next();
+ final NormalFlowRA nextElm = (NormalFlowRA) e.next();
if (nextElm.crBPD() > maxContentHeight) {
maxContentHeight = nextElm.crBPD();
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -245,7 +245,7 @@
*/
if (minIPD > totalFixedWidth) {
// Add extra space to each column
- dWidthFactor = (double) minIPD/(double)totalFixedWidth;
+ dWidthFactor = (double) minIPD/(double) totalFixedWidth;
} else if (maxIPD < totalFixedWidth) {
// Note: if maxIPD=auto, use maxAllocWidth
getLogger().warn("Sum of fixed column widths "
Modified: trunk/foray/foray-common/src/java/org/foray/common/ClassService.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/ClassService.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-common/src/java/org/foray/common/ClassService.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -62,7 +62,7 @@
final String serviceFile = "META-INF/services/" + cls.getName();
- Vector v = (Vector)providerMap.get(serviceFile);
+ Vector v = (Vector) providerMap.get(serviceFile);
if (v != null) {
return v.elements();
}
@@ -79,7 +79,7 @@
while (e.hasMoreElements()) {
try {
- final URL u = (URL)e.nextElement();
+ final URL u = (URL) e.nextElement();
final InputStream is = u.openStream();
final InputStreamReader r = new InputStreamReader(is, "UTF-8");
Modified: trunk/foray/foray-common/src/java/org/foray/common/Configuration.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/Configuration.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-common/src/java/org/foray/common/Configuration.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -112,7 +112,7 @@
protected String getStringValue(final String key) {
final Object obj = getValue(key);
if (obj instanceof String) {
- return (String)obj;
+ return (String) obj;
}
return null;
}
@@ -126,7 +126,7 @@
protected int getIntValue(final String key) {
final Object obj = getValue(key);
if (obj instanceof String) {
- return Integer.parseInt((String)obj);
+ return Integer.parseInt((String) obj);
}
return -1;
}
@@ -140,9 +140,9 @@
protected Boolean getBooleanValue(final String key) {
final Object obj = getValue(key);
if (obj instanceof String) {
- return new Boolean((String)obj);
+ return new Boolean((String) obj);
} else if (obj instanceof Boolean) {
- return (Boolean)obj;
+ return (Boolean) obj;
} else {
return null;
}
@@ -157,7 +157,7 @@
protected List getListValue(final String key) {
final Object obj = getValue(key);
if (obj instanceof List) {
- return (List)obj;
+ return (List) obj;
}
return null;
}
@@ -285,7 +285,7 @@
logger.info("Dumping configuration: " + getName());
final Iterator iterator = options.keySet().iterator();
while (iterator.hasNext()) {
- final String key = (String)iterator.next();
+ final String key = (String) iterator.next();
logger.info("key: " + key);
final Object value = options.get(key);
if (value instanceof String) {
Modified: trunk/foray/foray-common/src/java/org/foray/common/RandomReader.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/RandomReader.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-common/src/java/org/foray/common/RandomReader.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -342,7 +342,7 @@
}
public String readNullTerminatedString() throws IOException {
- return readTerminatedString((byte)0x00, CHAR_ENCODE_ISO_8859_1);
+ return readTerminatedString((byte) 0x00, CHAR_ENCODE_ISO_8859_1);
}
/**
Modified: trunk/foray/foray-common/src/java/org/foray/common/RandomReaderArray.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/RandomReaderArray.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-common/src/java/org/foray/common/RandomReaderArray.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -106,7 +106,7 @@
public final short readShort() throws IOException {
final int byte1 = readUnsignedByte();
final int byte2 = readUnsignedByte();
- return (short)((byte1 << 8) + (byte2 << 0));
+ return (short) ((byte1 << 8) + (byte2 << 0));
}
/**
@@ -177,7 +177,7 @@
public final char readChar() throws IOException {
final int byte1 = this.readUnsignedByte();
final int byte2 = this.readUnsignedByte();
- return (char)((byte1 << 8) + (byte2 << 0));
+ return (char) ((byte1 << 8) + (byte2 << 0));
}
/**
@@ -230,7 +230,7 @@
break;
}
default: {
- input.append((char)byteRead);
+ input.append((char) byteRead);
break;
}
}
Modified: trunk/foray/foray-common/src/java/org/foray/common/sax/DocumentReader.java
===================================================================
--- trunk/foray/foray-common/src/java/org/foray/common/sax/DocumentReader.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-common/src/java/org/foray/common/sax/DocumentReader.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -404,7 +404,7 @@
SAXException {
if (input instanceof DocumentInputSource) {
final Document document =
- ((DocumentInputSource)input).getDocument();
+ ((DocumentInputSource) input).getDocument();
if (contentHandler == null) {
throw new SAXException("ContentHandler is null. Please use "
+ "setContentHandler()");
@@ -450,7 +450,7 @@
final NamedNodeMap map = currentNode.getAttributes();
currentAtts.clear();
for (int i = map.getLength() - 1; i >= 0; i--) {
- final Attr att = (Attr)map.item(i);
+ final Attr att = (Attr) map.item(i);
currentAtts.addAttribute(att.getNamespaceURI(),
att.getLocalName(),
att.getName(), "CDATA",
Modified: trunk/foray/foray-core/src/java/org/foray/core/ConfigurationParser.java
===================================================================
--- trunk/foray/foray-core/src/java/org/foray/core/ConfigurationParser.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-core/src/java/org/foray/core/ConfigurationParser.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -118,7 +118,7 @@
parser.parse(filename);
} catch (final SAXException e) {
if (e.getException() instanceof FOrayException) {
- throw (FOrayException)e.getException();
+ throw (FOrayException) e.getException();
}
throw new FOrayException(e);
} catch (final IOException e) {
Modified: trunk/foray/foray-core/src/java/org/foray/core/FOrayDocument.java
===================================================================
--- trunk/foray/foray-core/src/java/org/foray/core/FOrayDocument.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-core/src/java/org/foray/core/FOrayDocument.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -260,12 +260,12 @@
}
} catch (final SAXException e) {
if (e.getException() instanceof FOrayException) {
- throw (FOrayException)e.getException();
+ throw (FOrayException) e.getException();
}
throw new FOrayException(e);
} catch (final TransformerException e) {
if (e.getException() instanceof FOrayException) {
- throw (FOrayException)e.getException();
+ throw (FOrayException) e.getException();
}
throw new FOrayException(e);
} catch (final IOException e) {
@@ -288,13 +288,13 @@
final Log log = getLogger();
if (e instanceof SAXException) {
log.error(e.getMessage());
- if (((SAXException)e).getException() != null) {
- log.error(((SAXException)e).getException().getMessage());
+ if (((SAXException) e).getException() != null) {
+ log.error(((SAXException) e).getException().getMessage());
}
} else if (e instanceof FOrayException) {
e.printStackTrace();
- if (((FOrayException)e).getException() != null) {
- log.error(((FOrayException)e).getException().getMessage());
+ if (((FOrayException) e).getException() != null) {
+ log.error(((FOrayException) e).getException().getMessage());
}
} else {
log.error(e.getMessage());
Modified: trunk/foray/foray-core/src/java/org/foray/core/FOrayException.java
===================================================================
--- trunk/foray/foray-core/src/java/org/foray/core/FOrayException.java 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/foray-core/src/java/org/foray/core/FOrayException.java 2006-09-08 03:30:12 UTC (rev 8001)
@@ -105,11 +105,11 @@
Throwable result = exception;
if (result instanceof SAXException) {
- result = ((SAXException)result).getException();
+ result = ((SAXException) result).getException();
}
if (result instanceof InvocationTargetException) {
result =
- ((InvocationTargetException)result)
+ ((InvocationTargetException) result)
.getTargetException();
}
if (result != exception) {
Modified: trunk/foray/scripts/checkstyle-config.xml
===================================================================
--- trunk/foray/scripts/checkstyle-config.xml 2006-09-08 03:23:34 UTC (rev 8000)
+++ trunk/foray/scripts/checkstyle-config.xml 2006-09-08 03:30:12 UTC (rev 8001)
@@ -169,9 +169,7 @@
</module>
<module name="UnnecessaryParentheses"/>
<module name="UpperEll"/>
- <module name="WhitespaceAfter">
- <property name="severity" value="ignore"/>
- </module>
+ <module name="WhitespaceAfter"/>
<module name="WhitespaceAround">
<property name="severity" value="ignore"/>
</module>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|