mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
Reduced the visibility of some classes.
This commit is contained in:
@@ -9,7 +9,7 @@ import java.security.spec.X509EncodedKeySpec;
|
||||
|
||||
import net.sf.briar.api.crypto.KeyParser;
|
||||
|
||||
public class KeyParserImpl implements KeyParser {
|
||||
class KeyParserImpl implements KeyParser {
|
||||
|
||||
private final KeyFactory keyFactory;
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import java.util.Collection;
|
||||
import net.sf.briar.api.protocol.Ack;
|
||||
import net.sf.briar.api.protocol.BatchId;
|
||||
|
||||
public class AckImpl implements Ack {
|
||||
class AckImpl implements Ack {
|
||||
|
||||
private final Collection<BatchId> batches;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ import net.sf.briar.api.protocol.Tags;
|
||||
import net.sf.briar.api.serial.ObjectReader;
|
||||
import net.sf.briar.api.serial.Reader;
|
||||
|
||||
public class AckReader implements ObjectReader<Ack> {
|
||||
class AckReader implements ObjectReader<Ack> {
|
||||
|
||||
private final AckFactory ackFactory;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ import net.sf.briar.api.serial.FormatException;
|
||||
import net.sf.briar.api.serial.ObjectReader;
|
||||
import net.sf.briar.api.serial.Reader;
|
||||
|
||||
public class BatchIdReader implements ObjectReader<BatchId> {
|
||||
class BatchIdReader implements ObjectReader<BatchId> {
|
||||
|
||||
public BatchId readObject(Reader r) throws IOException {
|
||||
r.readUserDefinedTag(Tags.BATCH_ID);
|
||||
|
||||
@@ -11,7 +11,7 @@ import net.sf.briar.api.protocol.Tags;
|
||||
import net.sf.briar.api.serial.ObjectReader;
|
||||
import net.sf.briar.api.serial.Reader;
|
||||
|
||||
public class BatchReader implements ObjectReader<Batch> {
|
||||
class BatchReader implements ObjectReader<Batch> {
|
||||
|
||||
private final MessageDigest messageDigest;
|
||||
private final ObjectReader<Message> messageReader;
|
||||
|
||||
@@ -9,7 +9,7 @@ import net.sf.briar.api.serial.FormatException;
|
||||
import net.sf.briar.api.serial.ObjectReader;
|
||||
import net.sf.briar.api.serial.Reader;
|
||||
|
||||
public class GroupIdReader implements ObjectReader<GroupId> {
|
||||
class GroupIdReader implements ObjectReader<GroupId> {
|
||||
|
||||
public GroupId readObject(Reader r) throws IOException {
|
||||
r.readUserDefinedTag(Tags.GROUP_ID);
|
||||
|
||||
@@ -5,7 +5,7 @@ import java.security.PublicKey;
|
||||
import net.sf.briar.api.protocol.Group;
|
||||
import net.sf.briar.api.protocol.GroupId;
|
||||
|
||||
public class GroupImpl implements Group {
|
||||
class GroupImpl implements Group {
|
||||
|
||||
private final GroupId id;
|
||||
private final String name;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
package net.sf.briar.protocol.writers;
|
||||
|
||||
|
||||
import net.sf.briar.api.protocol.writers.PacketWriterFactory;
|
||||
|
||||
import com.google.inject.AbstractModule;
|
||||
|
||||
Reference in New Issue
Block a user