Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
654bd317
Commit
654bd317
authored
Apr 02, 2015
by
Tamir Duberstein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up imports
parent
badef1fc
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
17 additions
and
30 deletions
+17
-30
CodedOutputStream.java
.../src/main/java/com/google/protobuf/CodedOutputStream.java
+0
-1
Descriptors.java
java/src/main/java/com/google/protobuf/Descriptors.java
+0
-1
Internal.java
java/src/main/java/com/google/protobuf/Internal.java
+0
-2
LiteralByteString.java
.../src/main/java/com/google/protobuf/LiteralByteString.java
+0
-1
RopeByteString.java
java/src/main/java/com/google/protobuf/RopeByteString.java
+1
-2
ByteStringTest.java
java/src/test/java/com/google/protobuf/ByteStringTest.java
+1
-1
DescriptorsTest.java
java/src/test/java/com/google/protobuf/DescriptorsTest.java
+8
-12
IsValidUtf8TestUtil.java
...rc/test/java/com/google/protobuf/IsValidUtf8TestUtil.java
+6
-7
CodedOutputByteBufferNano.java
...a/com/google/protobuf/nano/CodedOutputByteBufferNano.java
+0
-1
InternalNano.java
.../src/main/java/com/google/protobuf/nano/InternalNano.java
+1
-2
No files found.
java/src/main/java/com/google/protobuf/CodedOutputStream.java
View file @
654bd317
...
...
@@ -32,7 +32,6 @@ package com.google.protobuf;
import
java.io.IOException
;
import
java.io.OutputStream
;
import
java.io.UnsupportedEncodingException
;
import
java.nio.ByteBuffer
;
/**
...
...
java/src/main/java/com/google/protobuf/Descriptors.java
View file @
654bd317
...
...
@@ -43,7 +43,6 @@ import java.util.Map;
import
java.util.Set
;
import
java.util.WeakHashMap
;
import
java.util.logging.Logger
;
import
java.io.UnsupportedEncodingException
;
/**
* Contains a collection of classes which describe protocol message types.
...
...
java/src/main/java/com/google/protobuf/Internal.java
View file @
654bd317
...
...
@@ -30,8 +30,6 @@
package
com
.
google
.
protobuf
;
import
java.io.IOException
;
import
java.io.UnsupportedEncodingException
;
import
java.nio.ByteBuffer
;
import
java.nio.charset.Charset
;
import
java.util.AbstractList
;
...
...
java/src/main/java/com/google/protobuf/LiteralByteString.java
View file @
654bd317
...
...
@@ -34,7 +34,6 @@ import java.io.ByteArrayInputStream;
import
java.io.IOException
;
import
java.io.InputStream
;
import
java.io.OutputStream
;
import
java.io.UnsupportedEncodingException
;
import
java.nio.ByteBuffer
;
import
java.nio.charset.Charset
;
import
java.util.ArrayList
;
...
...
java/src/main/java/com/google/protobuf/RopeByteString.java
View file @
654bd317
...
...
@@ -30,13 +30,12 @@
package
com
.
google
.
protobuf
;
import
java.io.ByteArrayInputStream
;
import
java.io.IOException
;
import
java.io.InputStream
;
import
java.io.InvalidObjectException
;
import
java.io.ObjectInputStream
;
import
java.io.OutputStream
;
import
java.io.UnsupportedEncodingException
;
import
java.io.ByteArrayInputStream
;
import
java.nio.ByteBuffer
;
import
java.nio.charset.Charset
;
import
java.util.ArrayList
;
...
...
java/src/test/java/com/google/protobuf/ByteStringTest.java
View file @
654bd317
...
...
@@ -36,8 +36,8 @@ import junit.framework.TestCase;
import
java.io.ByteArrayInputStream
;
import
java.io.ByteArrayOutputStream
;
import
java.io.InputStream
;
import
java.io.IOException
;
import
java.io.InputStream
;
import
java.io.OutputStream
;
import
java.io.UnsupportedEncodingException
;
import
java.nio.ByteBuffer
;
...
...
java/src/test/java/com/google/protobuf/DescriptorsTest.java
View file @
654bd317
...
...
@@ -35,32 +35,28 @@ import com.google.protobuf.DescriptorProtos.EnumDescriptorProto;
import
com.google.protobuf.DescriptorProtos.EnumValueDescriptorProto
;
import
com.google.protobuf.DescriptorProtos.FieldDescriptorProto
;
import
com.google.protobuf.DescriptorProtos.FileDescriptorProto
;
import
com.google.protobuf.Descriptors.DescriptorValidationException
;
import
com.google.protobuf.Descriptors.FileDescriptor
;
import
com.google.protobuf.Descriptors.Descriptor
;
import
com.google.protobuf.Descriptors.FieldDescriptor
;
import
com.google.protobuf.Descriptors.OneofDescriptor
;
import
com.google.protobuf.Descriptors.DescriptorValidationException
;
import
com.google.protobuf.Descriptors.EnumDescriptor
;
import
com.google.protobuf.Descriptors.EnumValueDescriptor
;
import
com.google.protobuf.Descriptors.ServiceDescriptor
;
import
com.google.protobuf.Descriptors.FieldDescriptor
;
import
com.google.protobuf.Descriptors.FileDescriptor
;
import
com.google.protobuf.Descriptors.MethodDescriptor
;
import
com.google.protobuf.Descriptors.OneofDescriptor
;
import
com.google.protobuf.Descriptors.ServiceDescriptor
;
import
com.google.protobuf.test.UnittestImport
;
import
com.google.protobuf.test.UnittestImport.ImportEnum
;
import
com.google.protobuf.test.UnittestImport.ImportMessage
;
import
protobuf_unittest.TestCustomOptions
;
import
protobuf_unittest.UnittestCustomOptions
;
import
protobuf_unittest.UnittestProto
;
import
protobuf_unittest.UnittestProto.ForeignEnum
;
import
protobuf_unittest.UnittestProto.ForeignMessage
;
import
protobuf_unittest.UnittestProto.TestAllTypes
;
import
protobuf_unittest.UnittestProto.TestAllExtensions
;
import
protobuf_unittest.UnittestProto.TestAllTypes
;
import
protobuf_unittest.UnittestProto.TestExtremeDefaultValues
;
import
protobuf_unittest.UnittestProto.TestMultipleExtensionRanges
;
import
protobuf_unittest.UnittestProto.TestRequired
;
import
protobuf_unittest.UnittestProto.TestService
;
import
protobuf_unittest.UnittestCustomOptions
;
import
protobuf_unittest.TestCustomOptions
;
import
junit.framework.TestCase
;
...
...
java/src/test/java/com/google/protobuf/IsValidUtf8TestUtil.java
View file @
654bd317
...
...
@@ -33,18 +33,17 @@ package com.google.protobuf;
import
static
junit
.
framework
.
Assert
.*;
import
java.io.UnsupportedEncodingException
;
import
java.nio.ByteBuffer
;
import
java.nio.CharBuffer
;
import
java.nio.charset.CharsetDecoder
;
import
java.nio.charset.CharsetEncoder
;
import
java.nio.charset.CoderResult
;
import
java.nio.charset.CodingErrorAction
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.Random
;
import
java.util.logging.Logger
;
import
java.nio.charset.CharsetDecoder
;
import
java.nio.charset.Charset
;
import
java.nio.charset.CodingErrorAction
;
import
java.nio.charset.CharsetEncoder
;
import
java.nio.charset.CoderResult
;
import
java.nio.ByteBuffer
;
import
java.nio.CharBuffer
;
/**
* Shared testing code for {@link IsValidUtf8Test} and
...
...
javanano/src/main/java/com/google/protobuf/nano/CodedOutputByteBufferNano.java
View file @
654bd317
...
...
@@ -31,7 +31,6 @@
package
com
.
google
.
protobuf
.
nano
;
import
java.io.IOException
;
import
java.io.UnsupportedEncodingException
;
/**
* Encodes and writes protocol message fields.
...
...
javanano/src/main/java/com/google/protobuf/nano/InternalNano.java
View file @
654bd317
...
...
@@ -33,11 +33,10 @@ package com.google.protobuf.nano;
import
com.google.protobuf.nano.MapFactories.MapFactory
;
import
java.io.IOException
;
import
java.io.UnsupportedEncodingException
;
import
java.nio.charset.Charset
;
import
java.util.Arrays
;
import
java.util.Map.Entry
;
import
java.util.Map
;
import
java.util.Map.Entry
;
/**
* The classes contained within are used internally by the Protocol Buffer
...
...
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