Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bi-report
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data
bi-report
Commits
b7677408
Commit
b7677408
authored
May 01, 2020
by
赵建伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upadte codes
parent
227c0a2a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
workspace.xml
lib/java/bi-report-service/.idea/workspace.xml
+1
-1
ProperUtils.java
.../java/com/gmei/data/gateway/server/utils/ProperUtils.java
+3
-4
No files found.
lib/java/bi-report-service/.idea/workspace.xml
View file @
b7677408
...
@@ -216,7 +216,7 @@
...
@@ -216,7 +216,7 @@
<workItem
from=
"1588148891822"
duration=
"2318000"
/>
<workItem
from=
"1588148891822"
duration=
"2318000"
/>
<workItem
from=
"1588152718016"
duration=
"1463000"
/>
<workItem
from=
"1588152718016"
duration=
"1463000"
/>
<workItem
from=
"1588154601852"
duration=
"28557000"
/>
<workItem
from=
"1588154601852"
duration=
"28557000"
/>
<workItem
from=
"1588344252163"
duration=
"1
669
000"
/>
<workItem
from=
"1588344252163"
duration=
"1
944
000"
/>
</task>
</task>
<servers
/>
<servers
/>
</component>
</component>
...
...
lib/java/bi-report-service/service-server/src/main/java/com/gmei/data/gateway/server/utils/ProperUtils.java
View file @
b7677408
package
com
.
gmei
.
data
.
gateway
.
server
.
utils
;
package
com
.
gmei
.
data
.
gateway
.
server
.
utils
;
import
java.io.FileNotFoundException
;
import
java.io.*
;
import
java.io.IOException
;
import
java.io.InputStream
;
import
java.util.Properties
;
import
java.util.Properties
;
/**
/**
...
@@ -33,7 +31,8 @@ public class ProperUtils {
...
@@ -33,7 +31,8 @@ public class ProperUtils {
private
static
Properties
getProperties
(
String
path
)
{
private
static
Properties
getProperties
(
String
path
)
{
Properties
properties
=
new
Properties
();
Properties
properties
=
new
Properties
();
try
{
try
{
InputStream
inputStream
=
ProperUtils
.
class
.
getClassLoader
().
getResourceAsStream
(
path
);
//InputStream inputStream = ProperUtils.class.getClassLoader().getResourceAsStream(path);
InputStream
inputStream
=
new
BufferedInputStream
(
new
FileInputStream
(
path
));
properties
.
load
(
inputStream
);
properties
.
load
(
inputStream
);
inputStream
.
close
();
inputStream
.
close
();
}
catch
(
FileNotFoundException
e
)
{
}
catch
(
FileNotFoundException
e
)
{
...
...
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