Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ipaaca
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ramin Yaghoubzadeh Torky
ipaaca
Commits
5b98d7d1
Commit
5b98d7d1
authored
12 years ago
by
Herwin van Welbergen
Browse files
Options
Downloads
Patches
Plain Diff
made java6 compliant
parent
cf0aa2cd
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ipaacalib/java/src/ipaaca/util/ComponentNotifier.java
+2
-2
2 additions, 2 deletions
ipaacalib/java/src/ipaaca/util/ComponentNotifier.java
ipaacalib/java/test/src/ipaaca/StoringEventHandler.java
+1
-1
1 addition, 1 deletion
ipaacalib/java/test/src/ipaaca/StoringEventHandler.java
with
3 additions
and
3 deletions
ipaacalib/java/src/ipaaca/util/ComponentNotifier.java
+
2
−
2
View file @
5b98d7d1
...
...
@@ -42,7 +42,7 @@ public class ComponentNotifier
private
final
InputBuffer
inBuffer
;
private
List
<
HandlerFunctor
>
handlers
=
Collections
.
synchronizedList
(
new
ArrayList
<
HandlerFunctor
>());
private
volatile
boolean
isInitialized
=
false
;
private
final
BlockingQueue
<
String
>
receiverQueue
=
new
LinkedBlockingQueue
<>();
private
final
BlockingQueue
<
String
>
receiverQueue
=
new
LinkedBlockingQueue
<
String
>();
private
class
ComponentNotifyHandler
implements
HandlerFunctor
{
...
...
@@ -79,7 +79,7 @@ public class ComponentNotifier
*/
public
void
waitForReceivers
(
ImmutableSet
<
String
>
categories
)
{
Set
<
String
>
unhandledCategories
=
new
HashSet
<>(
categories
);
Set
<
String
>
unhandledCategories
=
new
HashSet
<
String
>(
categories
);
while
(!
unhandledCategories
.
isEmpty
())
{
try
...
...
This diff is collapsed.
Click to expand it.
ipaacalib/java/test/src/ipaaca/StoringEventHandler.java
+
1
−
1
View file @
5b98d7d1
...
...
@@ -10,7 +10,7 @@ import java.util.List;
*/
public
class
StoringEventHandler
implements
HandlerFunctor
{
private
List
<
AbstractIU
>
addedIUs
=
new
ArrayList
<>();
private
List
<
AbstractIU
>
addedIUs
=
new
ArrayList
<
AbstractIU
>();
public
List
<
AbstractIU
>
getAddedIUs
()
{
...
...
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