[ adempiere-Bugs-1921691 ] Issue with cache in 2Pack

This commit is contained in:
Heng Sin Low 2008-03-21 00:13:37 +00:00
parent f9e8f49e7d
commit 4b777f3ba4
1 changed files with 10 additions and 5 deletions

View File

@ -157,7 +157,8 @@ public class IDFinder {
}
//update cache
idCache.put(key.toString(), id);
if (id > 0)
idCache.put(key.toString(), id);
return id;
}
@ -215,7 +216,8 @@ public class IDFinder {
}
//update cache
idCache.put(key.toString(), id);
if (id > 0)
idCache.put(key.toString(), id);
return id;
}
@ -271,7 +273,8 @@ public class IDFinder {
}
//update cache
idCache.put(key, id);
if (id > 0)
idCache.put(key, id);
return id;
}
@ -329,7 +332,8 @@ public class IDFinder {
}
//update cache
idCache.put(key.toString(), id);
if (id > 0)
idCache.put(key.toString(), id);
return id;
}
@ -385,7 +389,8 @@ public class IDFinder {
}
//update cache
idCache.put(key.toString(), id);
if (id > 0)
idCache.put(key.toString(), id);
return id;
}