Dolda2000 GitWeb
/
jsvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f4f5d6
)
DocBuffer.asnode: Convert null properly.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 12 Sep 2010 04:16:23 +0000
(06:16 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 12 Sep 2010 04:16:23 +0000
(06:16 +0200)
src/dolda/jsvc/next/DocBuffer.java
patch
|
blob
|
blame
|
history
diff --git
a/src/dolda/jsvc/next/DocBuffer.java
b/src/dolda/jsvc/next/DocBuffer.java
index
d885a0b
..
b936c0a
100644
(file)
--- a/
src/dolda/jsvc/next/DocBuffer.java
+++ b/
src/dolda/jsvc/next/DocBuffer.java
@@
-77,6
+77,8
@@
public class DocBuffer {
}
public Node asnode(Object o) {
+ if(o == null)
+ return(text(""));
if(o instanceof Node) {
Node n = (Node)o;
if(n.getOwnerDocument() != doc)