1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2024-10-27 20:34:16 +00:00

Html_dump: Add no-op related commits [#547]

This commit is contained in:
gnosygnu 2019-11-25 16:31:45 -05:00
parent 38f670649b
commit cb3b78895c
2 changed files with 5 additions and 5 deletions

View File

@ -26,18 +26,18 @@ public class Xoh_img_cls_ {
Str__thumbimage = "thumbimage" Str__thumbimage = "thumbimage"
, Str__thumbborder = "thumbborder" , Str__thumbborder = "thumbborder"
; ;
public static final byte[] public static final byte[]
Bry__none = Bry_.Empty Bry__none = Bry_.Empty
; ;
public static final byte[] public static final byte[]
Bry__thumbimage = Bry_.new_a7(Str__thumbimage) Bry__thumbimage = Bry_.new_a7(Str__thumbimage)
, Bry__thumbborder = Bry_.new_a7(Str__thumbborder) , Bry__thumbborder = Bry_.new_a7(Str__thumbborder)
; ;
public static final Btrie_slim_mgr Trie = Btrie_slim_mgr.cs() public static final Btrie_slim_mgr Trie = Btrie_slim_mgr.cs()
.Add_bry_byte(Bry__thumbimage , Tid__thumbimage) .Add_bry_byte(Bry__thumbimage , Tid__thumbimage)
.Add_bry_byte(Bry__thumbborder , Tid__thumbborder) .Add_bry_byte(Bry__thumbborder , Tid__thumbborder)
; ;
private static final byte[] Bry__html_class = Bry_.new_a7(" class=\""); private static final byte[] Bry__html_class = Bry_.new_a7(" class=\"");
public static byte[] To_html(int tid, byte[] other) { public static byte[] To_html(int tid, byte[] other) {
boolean other_is_empty = Bry_.Len_eq_0(other); boolean other_is_empty = Bry_.Len_eq_0(other);
if (tid == Xoh_img_cls_.Tid__none && other_is_empty) return Bry_.Empty; if (tid == Xoh_img_cls_.Tid__none && other_is_empty) return Bry_.Empty;