Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
frascati
frascati
Commits
30001194
Commit
30001194
authored
Dec 08, 2010
by
Philippe Merle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved to Fscript 2.1.3.
TODO: Found a Guava equivalence to the Google Collections Comparators class.
parent
9e3bf39b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
assembly-factory/RELEASE_NOTES.txt
assembly-factory/RELEASE_NOTES.txt
+1
-0
frascati/modules/frascati-fscript/console/src/main/java/org/ow2/frascati/fscript/console/TextConsole.java
...in/java/org/ow2/frascati/fscript/console/TextConsole.java
+5
-2
pom.xml
pom.xml
+1
-1
No files found.
assembly-factory/RELEASE_NOTES.txt
View file @
30001194
...
...
@@ -47,6 +47,7 @@ OW2 FraSCAti 1.4
* Moved to OW2 FraSCAti Tinfi 1.4.2-SNAPSHOT,
OW2 Fractal Juliac 2.2.6,
OW2 Fractal Binding Factory 0.9-SNAPSHOT,
OW2 FScript 2.1.3,
Apache CXF 2.3.0,
Spring Framework 3.0.4,
EasyBPEL 1.4-SNAPSHOT,
...
...
frascati/modules/frascati-fscript/console/src/main/java/org/ow2/frascati/fscript/console/TextConsole.java
View file @
30001194
...
...
@@ -53,7 +53,8 @@ import org.ow2.frascati.fscript.console.commands.AbstractCommand;
import
com.google.common.base.Function
;
import
com.google.common.base.Preconditions
;
import
com.google.common.collect.Comparators
;
// TODO: Following is not present into Google Guava.
// import com.google.common.collect.Comparators;
import
com.google.common.collect.Lists
;
/**
...
...
@@ -231,6 +232,8 @@ public class TextConsole
newline
();
List
<
Command
>
sortedCmds
=
Lists
.
newArrayList
(
commands
.
values
());
/*
// TODO: Comparators is not present into Google Guava.
Collections.sort(sortedCmds, Comparators
.fromFunction(new Function<Command, String>() {
public final String apply(Command cmd)
...
...
@@ -238,7 +241,7 @@ public class TextConsole
return cmd.getName();
}
}));
*/
String
[][]
table
=
new
String
[
sortedCmds
.
size
()
+
1
][
2
];
table
[
0
][
0
]
=
"Command"
;
table
[
0
][
1
]
=
"Description"
;
...
...
pom.xml
View file @
30001194
...
...
@@ -308,7 +308,7 @@
<fractal-adl.version>
2.3.1
</fractal-adl.version>
<fractal-util.version>
1.1.2
</fractal-util.version>
<fractal-bf.version>
0.9-SNAPSHOT
</fractal-bf.version>
<fscript.version>
2.1.
2
</fscript.version>
<fscript.version>
2.1.
3
</fscript.version>
<cxf.version>
2.3.0
</cxf.version>
<jetty.version>
7.1.6.v20100715
</jetty.version>
<spring.version>
3.0.4.RELEASE
</spring.version>
...
...
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