Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ac
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OATS-CADC
ac
Commits
fcbdb812
Commit
fcbdb812
authored
11 years ago
by
Patrick Dowler
Committed by
Dustin Jenkins
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fixed output of numeric arrays to be space-separated
parent
569fcea5
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
projects/cadcTAP/src/ca/nrc/cadc/tap/writer/formatter/IntArrayFormatter.java
+6
-6
6 additions, 6 deletions
...c/ca/nrc/cadc/tap/writer/formatter/IntArrayFormatter.java
with
6 additions
and
6 deletions
projects/cadcTAP/src/ca/nrc/cadc/tap/writer/formatter/IntArrayFormatter.java
+
6
−
6
View file @
fcbdb812
...
@@ -113,23 +113,23 @@ public class IntArrayFormatter implements Formatter
...
@@ -113,23 +113,23 @@ public class IntArrayFormatter implements Formatter
private
String
toString
(
int
[]
iarray
)
private
String
toString
(
int
[]
iarray
)
{
{
StringBu
ff
er
sb
=
new
StringBu
ff
er
();
StringBu
ild
er
sb
=
new
StringBu
ild
er
();
for
(
int
i
:
iarray
)
for
(
int
i
:
iarray
)
{
{
sb
.
append
(
Integer
.
toString
(
i
));
sb
.
append
(
Integer
.
toString
(
i
));
sb
.
append
(
"
,
"
);
sb
.
append
(
"
"
);
}
}
return
sb
.
substring
(
0
,
sb
.
length
()
-
1
);
// trim trailing
comma
return
sb
.
substring
(
0
,
sb
.
length
()
-
1
);
// trim trailing
space
}
}
private
String
toString
(
Integer
[]
iarray
)
private
String
toString
(
Integer
[]
iarray
)
{
{
StringBu
ff
er
sb
=
new
StringBu
ff
er
();
StringBu
ild
er
sb
=
new
StringBu
ild
er
();
for
(
Integer
i
:
iarray
)
for
(
Integer
i
:
iarray
)
{
{
sb
.
append
(
i
.
toString
());
sb
.
append
(
i
.
toString
());
sb
.
append
(
"
,
"
);
sb
.
append
(
"
"
);
}
}
return
sb
.
substring
(
0
,
sb
.
length
()
-
1
);
// trim trailing
comma
return
sb
.
substring
(
0
,
sb
.
length
()
-
1
);
// trim trailing
space
}
}
}
}
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