Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
frascati
frascati
Commits
bae3bb30
Commit
bae3bb30
authored
Aug 11, 2010
by
Philippe Merle
Browse files
* Improved the code quality according to checking rules of Sonar.
* Cosmetic updates.
parent
a3852172
Changes
1
Hide whitespace changes
Inline
Side-by-side
frascati/modules/module-native/frascati-interface-native/src/main/java/org/ow2/frascati/native_/JNAeratorCompiler.java
View file @
bae3bb30
...
...
@@ -75,7 +75,7 @@ public class JNAeratorCompiler
public
final
String
interfaceName
(
File
file
)
{
String
itf
=
packageName
(
file
);
return
itf
.
substring
(
0
,
1
).
toUpperCase
(
)+
itf
.
substring
(
1
)+
"Library"
;
return
Character
.
toUpperCase
(
itf
.
charAt
(
0
)
)+
itf
.
substring
(
1
)+
"Library"
;
}
/**
...
...
@@ -111,7 +111,7 @@ public class JNAeratorCompiler
/**
* @see com.ochafik.lang.jnaerator.JNAerator.Feedback#setFinished(java.io.File)
*/
public
final
void
setFinished
(
File
file
)
public
void
setFinished
(
File
file
)
{
if
(
this
.
logger
.
isLoggable
(
INFO
))
{
this
.
logger
.
info
(
"File '"
+
file
.
getName
()
...
...
@@ -122,7 +122,7 @@ public class JNAeratorCompiler
/**
* @see com.ochafik.lang.jnaerator.JNAerator.Feedback#setFinished(java.lang.Throwable)
*/
public
final
void
setFinished
(
Throwable
error
)
public
void
setFinished
(
Throwable
error
)
{
if
(
this
.
logger
.
isLoggable
(
SEVERE
))
{
this
.
logger
.
log
(
SEVERE
,
"File failed to generate."
,
error
);
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment