(The open source Java library for manipulating docx files)
by hpeng » Fri Dec 28, 2012 1:17 pm
In StyleUtil.java
- Code: Select all
public static boolean isEmpty(BooleanDefaultTrue booleanDefaultTrue) {
return (booleanDefaultTrue == null) || booleanDefaultTrue.isVal();
}
Should not it be:
- Code: Select all
public static boolean isEmpty(BooleanDefaultTrue booleanDefaultTrue) {
return (booleanDefaultTrue == null) || !booleanDefaultTrue.isVal();
}
Thanks,
Hua.
-
hpeng
-
- Posts: 8
- Joined: Tue Nov 20, 2012 7:17 am
by jason » Fri Dec 28, 2012 5:32 pm
-
jason
-
- Posts: 3989
- Joined: Wed Mar 19, 2008 11:47 pm
by hpeng » Wed Jan 02, 2013 4:58 am
Thanks Jason and happy new year!
-
hpeng
-
- Posts: 8
- Joined: Tue Nov 20, 2012 7:17 am
Return to docx4j
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 17 guests