xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adelme...@apache.org
Subject svn commit: r670770 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/SingleByteFont.java
Date Mon, 23 Jun 2008 21:29:53 GMT
Author: adelmelle
Date: Mon Jun 23 14:29:53 2008
New Revision: 670770

URL: http://svn.apache.org/viewvc?rev=670770&view=rev
Log:
Minor cleanup: simplified conditional

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/SingleByteFont.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/SingleByteFont.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/SingleByteFont.java?rev=670770&r1=670769&r2=670770&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/SingleByteFont.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/SingleByteFont.java Mon Jun 23 14:29:53
2008
@@ -50,8 +50,8 @@
     
     /** {@inheritDoc} */
     public boolean isEmbeddable() {
-        return (getEmbedFileName() == null && getEmbedResourceName() == null) ? false
-               : true;
+        return (!(getEmbedFileName() == null 
+                && getEmbedResourceName() == null));
     }
 
     /** {@inheritDoc} */



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message