Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
1deb67fc
Commit
1deb67fc
authored
16 years ago
by
felmer
Browse files
Options
Downloads
Patches
Plain Diff
LMS-663 reduce ID from method signatures
SVN: 9393
parent
8d68ac17
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/authorization/AuthorizationTestUtil.java
+3
-5
3 additions, 5 deletions
...s/generic/server/authorization/AuthorizationTestUtil.java
with
3 additions
and
5 deletions
openbis/sourceTest/java/ch/systemsx/cisd/openbis/generic/server/authorization/AuthorizationTestUtil.java
+
3
−
5
View file @
1deb67fc
...
...
@@ -271,11 +271,11 @@ public final class AuthorizationTestUtil
}
public
final
static
RoleAssignmentPE
createGroupRoleAssignment
(
final
RoleCode
roleCode
,
final
String
instanceCode
,
final
String
groupCode
,
final
Long
groupIdOrNull
)
final
String
instanceCode
,
final
String
groupCode
)
{
final
RoleAssignmentPE
roleAssignment
=
new
RoleAssignmentPE
();
roleAssignment
.
setRole
(
roleCode
);
final
GroupPE
group
=
createGroup
(
instanceCode
,
groupCode
,
groupIdOrNull
);
final
GroupPE
group
=
createGroup
(
instanceCode
,
groupCode
);
roleAssignment
.
setGroup
(
group
);
return
roleAssignment
;
}
...
...
@@ -289,13 +289,11 @@ public final class AuthorizationTestUtil
return
databaseInstance
;
}
public
final
static
GroupPE
createGroup
(
final
String
dbCode
,
final
String
groupCode
,
final
Long
groupIdOrNull
)
public
final
static
GroupPE
createGroup
(
final
String
dbCode
,
final
String
groupCode
)
{
final
GroupPE
group
=
new
GroupPE
();
group
.
setCode
(
CodeConverter
.
tryToDatabase
(
groupCode
));
group
.
setDatabaseInstance
(
createDatabaseInstance
(
dbCode
));
group
.
setId
(
groupIdOrNull
);
return
group
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment