Update of /cvsroot/jrobin/src/org/jrobin/graph
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv13203/src/org/jrobin/graph
Modified Files:
LegendComposer.java
Log Message:
typos
Index: LegendComposer.java
===================================================================
RCS file: /cvsroot/jrobin/src/org/jrobin/graph/LegendComposer.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** LegendComposer.java 21 Dec 2006 18:02:43 -0000 1.2
--- LegendComposer.java 27 Aug 2007 19:49:56 -0000 1.3
***************
*** 85,93 ****
boolean canAccomodate(CommentText comment) {
! // always accomodate if empty
if (comments.size() == 0) {
return true;
}
! // cannot accomodate if the last marker was \j, \l, \r, \c, \s
if (lastMarker.equals(ALIGN_LEFT_MARKER) || lastMarker.equals(ALIGN_CENTER_MARKER) ||
lastMarker.equals(ALIGN_RIGHT_MARKER) || lastMarker.equals(ALIGN_JUSTIFIED_MARKER) ||
--- 85,93 ----
boolean canAccomodate(CommentText comment) {
! // always accommodate if empty
if (comments.size() == 0) {
return true;
}
! // cannot accommodate if the last marker was \j, \l, \r, \c, \s
if (lastMarker.equals(ALIGN_LEFT_MARKER) || lastMarker.equals(ALIGN_CENTER_MARKER) ||
lastMarker.equals(ALIGN_RIGHT_MARKER) || lastMarker.equals(ALIGN_JUSTIFIED_MARKER) ||
***************
*** 95,99 ****
return false;
}
! // cannot accomodate if line would be too long
double commentWidth = getCommentWidth(comment);
if (!lastMarker.equals(GLUE_MARKER)) {
--- 95,99 ----
return false;
}
! // cannot accommodate if line would be too long
double commentWidth = getCommentWidth(comment);
if (!lastMarker.equals(GLUE_MARKER)) {
|