Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
SimAquaLife
GR3D
Commits
99d7f07e
Commit
99d7f07e
authored
Aug 08, 2020
by
patrick.lambert
Browse files
avoid to retrun the path
parent
3683f8d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/environment/RIOBasinNetworkWithContinent.java
View file @
99d7f07e
...
...
@@ -563,7 +563,10 @@ public class RIOBasinNetworkWithContinent extends RIOBasinNetwork {
*/
@Override
public
String
getTemperatureCatchmentFile
()
{
return
(
temperatureRiverFile
.
split
(
"_"
)[
0
]);
String
[]
fields
=
temperatureRiverFile
.
split
(
"/"
);
String
prefix
=
fields
[
fields
.
length
-
1
].
split
(
"_"
)[
0
];
return
(
prefix
);
}
...
...
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