Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
50c534db
Commit
50c534db
authored
Jun 14, 2006
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First refId is 1, not 0
parent
e41c1778
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
java/jpwr/jop/src/LocalDb.java
java/jpwr/jop/src/LocalDb.java
+5
-4
No files found.
java/jpwr/jop/src/LocalDb.java
View file @
50c534db
/*
/*
* Proview $Id: LocalDb.java,v 1.
2 2005-09-01 14:57:51
claes Exp $
* Proview $Id: LocalDb.java,v 1.
3 2006-06-14 05:07:48
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
* Copyright (C) 2005 SSAB Oxelsund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -62,16 +62,17 @@ public class LocalDb {
...
@@ -62,16 +62,17 @@ public class LocalDb {
}
}
}
}
Vector
subscriptions
=
new
Vector
();
Vector
<
LocalSub
>
subscriptions
=
new
Vector
<
LocalSub
>
();
int
subscriptionCount
=
0
;
int
subscriptionCount
=
1
;
public
LocalDb
()
{
public
LocalDb
()
{
// Insert dummy first
subscriptions
.
insertElementAt
(
null
,
0
);
}
}
public
GdhrRefObjectInfo
refObjectInfo
(
Object
owner
,
String
attributeName
)
{
public
GdhrRefObjectInfo
refObjectInfo
(
Object
owner
,
String
attributeName
)
{
int
typeId
=
getTypeId
(
attributeName
);
int
typeId
=
getTypeId
(
attributeName
);
String
name
=
getName
(
attributeName
);
String
name
=
getName
(
attributeName
);
System
.
out
.
println
(
"refObjectInfo "
+
name
+
" "
+
typeId
);
if
(
typeId
==
0
)
{
if
(
typeId
==
0
)
{
return
new
GdhrRefObjectInfo
(
null
,
0
,
0
,
0
);
return
new
GdhrRefObjectInfo
(
null
,
0
,
0
,
0
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment