Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Sho SHIMIZU
2016-02-24 12:22:56 -0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c29171ac9a3829cd236211055fbdf66c54333b82
c29171ac
1 parent
e2d51d6e
Remove methods deprecated in Emu
Change-Id: I860dbc9fba32014a1239cacbd92e5d747e7ad191
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
43 deletions
protocols/ovsdb/rfc/src/main/java/org/onosproject/ovsdb/rfc/notation/Row.java
utils/misc/src/main/java/org/onlab/util/Tools.java
protocols/ovsdb/rfc/src/main/java/org/onosproject/ovsdb/rfc/notation/Row.java
View file @
c29171a
...
...
@@ -43,19 +43,6 @@ public final class Row {
* Row constructor.
*
* @param tableName table name
* @deprecated in Emu Release
*/
@Deprecated
private
Row
(
String
tableName
)
{
checkNotNull
(
tableName
,
"tableName cannot be null"
);
this
.
tableName
=
tableName
;
this
.
columns
=
Maps
.
newHashMap
();
}
/**
* Row constructor.
*
* @param tableName table name
* @param columns Map of Column entity
* @param uuid UUID of the row
*/
...
...
utils/misc/src/main/java/org/onlab/util/Tools.java
View file @
c29171a
...
...
@@ -21,13 +21,9 @@ import com.google.common.primitives.UnsignedLongs;
import
com.google.common.util.concurrent.ThreadFactoryBuilder
;
import
org.slf4j.Logger
;
import
java.io.BufferedReader
;
import
java.io.File
;
import
java.io.FileInputStream
;
import
java.io.IOException
;
import
java.io.InputStreamReader
;
import
java.nio.ByteBuffer
;
import
java.nio.charset.StandardCharsets
;
import
java.nio.file.FileVisitResult
;
import
java.nio.file.Files
;
import
java.nio.file.Path
;
...
...
@@ -35,7 +31,6 @@ import java.nio.file.Paths;
import
java.nio.file.SimpleFileVisitor
;
import
java.nio.file.StandardCopyOption
;
import
java.nio.file.attribute.BasicFileAttributes
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.Collection
;
import
java.util.Dictionary
;
...
...
@@ -432,31 +427,6 @@ public abstract class Tools {
}
/**
* Slurps the contents of a file into a list of strings, one per line.
*
* @param path file path
* @return file contents
* @deprecated in Emu release
*/
@Deprecated
public
static
List
<
String
>
slurp
(
File
path
)
{
try
(
BufferedReader
br
=
new
BufferedReader
(
new
InputStreamReader
(
new
FileInputStream
(
path
),
StandardCharsets
.
UTF_8
));
)
{
List
<
String
>
lines
=
new
ArrayList
<>();
String
line
;
while
((
line
=
br
.
readLine
())
!=
null
)
{
lines
.
add
(
line
);
}
return
lines
;
}
catch
(
IOException
e
)
{
return
null
;
}
}
/**
* Purges the specified directory path. Use with great caution since
* no attempt is made to check for symbolic links, which could result in
* deletion of unintended files.
...
...
Please
register
or
login
to post a comment