|
Lines 1875-1881
public class CDROutputStream
Link Here
|
| 1875 |
} |
1875 |
} |
| 1876 |
|
1876 |
|
| 1877 |
Integer index = getValueMap().get (value); |
1877 |
Integer index = getValueMap().get (value); |
| 1878 |
if (index != null) |
1878 |
if (index != null && isIndirectionEnabled()) |
| 1879 |
{ |
1879 |
{ |
| 1880 |
// value has already been written -- make an indirection |
1880 |
// value has already been written -- make an indirection |
| 1881 |
write_long (0xffffffff); |
1881 |
write_long (0xffffffff); |
|
Lines 1891-1897
public class CDROutputStream
Link Here
|
| 1891 |
private void write_repository_id(final String repository_id) |
1891 |
private void write_repository_id(final String repository_id) |
| 1892 |
{ |
1892 |
{ |
| 1893 |
Integer _index = getRepIdMap().get (repository_id); |
1893 |
Integer _index = getRepIdMap().get (repository_id); |
| 1894 |
if ( _index == null) |
1894 |
if ( _index == null || !isIndirectionEnabled() ) |
| 1895 |
{ |
1895 |
{ |
| 1896 |
// a new repository id -- write it |
1896 |
// a new repository id -- write it |
| 1897 |
|
1897 |
|
|
Lines 1929-1935
public class CDROutputStream
Link Here
|
| 1929 |
{ |
1929 |
{ |
| 1930 |
_index = getCodebaseMap().get (codebase); |
1930 |
_index = getCodebaseMap().get (codebase); |
| 1931 |
} |
1931 |
} |
| 1932 |
if ( _index == null) |
1932 |
if ( _index == null && !isIndirectionEnabled()) |
| 1933 |
{ |
1933 |
{ |
| 1934 |
// a new codebase -- write it# |
1934 |
// a new codebase -- write it# |
| 1935 |
|
1935 |
|
|
Lines 2180-2186
public class CDROutputStream
Link Here
|
| 2180 |
{ |
2180 |
{ |
| 2181 |
// look at the new value |
2181 |
// look at the new value |
| 2182 |
Integer index = getValueMap().get(newValue); |
2182 |
Integer index = getValueMap().get(newValue); |
| 2183 |
if (index != null) |
2183 |
if (index != null && isIndirectionEnabled()) |
| 2184 |
{ |
2184 |
{ |
| 2185 |
// previously marshaled value -- make an indirection |
2185 |
// previously marshaled value -- make an indirection |
| 2186 |
write_long (0xffffffff); |
2186 |
write_long (0xffffffff); |