Commit 522b4902 authored by claes's avatar claes

Bugfix in getObjectRefInfoAll

parent f4b63eff
......@@ -404,7 +404,7 @@ public class Gdh
int typeId = in.readInt();
int size = in.readInt();
int elements = in.readInt();
Sub sub = new Sub(attributeName, refid, id, typeId,subscriptionCount, size, elements);
Sub sub = new Sub(attributeName, refid, id, typeId,subscriptionCount, elements, size);
sub.sts = 1;
subscriptions.insertElementAt(sub, id);
subscriptionCount++;
......@@ -1279,7 +1279,7 @@ public class Gdh
for(int i = 0; i < subscriptions.size();i++)
{
//System.out.println("getObjectRefInfoAll:" + ((jpwr.rt.Sub)(subscriptions.get(i))).elements);
try
{
if(((jpwr.rt.Sub)(subscriptions.get(i))).elements > 1)
......
......@@ -404,7 +404,7 @@ public class Gdh
int typeId = in.readInt();
int size = in.readInt();
int elements = in.readInt();
Sub sub = new Sub(attributeName, refid, id, typeId,subscriptionCount, size, elements);
Sub sub = new Sub(attributeName, refid, id, typeId,subscriptionCount, elements, size);
sub.sts = 1;
subscriptions.insertElementAt(sub, id);
subscriptionCount++;
......@@ -1279,7 +1279,7 @@ public class Gdh
for(int i = 0; i < subscriptions.size();i++)
{
//System.out.println("getObjectRefInfoAll:" + ((jpwr.rt.Sub)(subscriptions.get(i))).elements);
try
{
if(((jpwr.rt.Sub)(subscriptions.get(i))).elements > 1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment