Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public Set<Long> clearInvalidMessages(Long kafkaOffset) {
* </li>
* </ul>
*/
class MessageRetryRecord {
private class MessageRetryRecord {
private final long offset;
private final int retryNum;
private final long retryTimeUTC;
Expand Down Expand Up @@ -169,7 +169,7 @@ public int hashCode() {
}
}

class RetryTimeComparator implements Comparator<MessageRetryRecord> {
private static class RetryTimeComparator implements Comparator<MessageRetryRecord> {

@Override
public int compare(MessageRetryRecord record1, MessageRetryRecord record2) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private static interface InputDeclaration {
String getComponent();
}

private class BoltDeclarerImpl extends BaseConfigurationDeclarer<BoltDeclarer> implements BoltDeclarer {
private static class BoltDeclarerImpl extends BaseConfigurationDeclarer<BoltDeclarer> implements BoltDeclarer {
Component _component;

public BoltDeclarerImpl(Component component) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ private static interface InputDeclaration {
public void declare(String prevComponent, InputDeclarer declarer);
}

private class InputDeclarerImpl extends BaseConfigurationDeclarer<LinearDRPCInputDeclarer> implements LinearDRPCInputDeclarer {
private static class InputDeclarerImpl extends BaseConfigurationDeclarer<LinearDRPCInputDeclarer> implements LinearDRPCInputDeclarer {
Component _component;

public InputDeclarerImpl(Component component) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public TServer getServer(TProcessor processor) throws IOException, TTransportExc
*
* This is used on the server side to set the UGI for each specific call.
*/
private class TUGIWrapProcessor implements TProcessor {
private static class TUGIWrapProcessor implements TProcessor {
final TProcessor wrapped;

TUGIWrapProcessor(TProcessor wrapped) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class DRPCSimpleACLAuthorizer extends DRPCAuthorizerBase {
protected IPrincipalToLocal _ptol;
protected boolean _permitWhenMissingFunctionEntry = false;

protected class AclFunctionEntry {
protected static class AclFunctionEntry {
final public Set<String> clientUsers;
final public String invocationUser;
public AclFunctionEntry(Collection<String> clientUsers,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ private boolean isAllowedToImpersonateUser(Set<String> authorizedGroups, String
return false;
}

protected class ImpersonationACL {
protected static class ImpersonationACL {
public String impersonatingUser;
//Groups this user is authorized to impersonate.
public Set<String> authorizedGroups;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public IOpaquePartitionedTransactionalSpout.Coordinator getCoordinator(Map conf,
return new Coordinator();
}

class Coordinator implements IOpaquePartitionedTransactionalSpout.Coordinator {
private static class Coordinator implements IOpaquePartitionedTransactionalSpout.Coordinator {
@Override
public boolean isReady() {
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public SpoutDeclarer addConfigurations(Map conf) {
}
}

private class BoltDeclarerImpl extends BaseConfigurationDeclarer<BoltDeclarer> implements BoltDeclarer {
private static class BoltDeclarerImpl extends BaseConfigurationDeclarer<BoltDeclarer> implements BoltDeclarer {
Component _component;

public BoltDeclarerImpl(Component component) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public Map<String, Object> getComponentConfiguration() {
}


protected class InitialReceiver {
protected static class InitialReceiver {
List<TridentProcessor> _receivers = new ArrayList();
RootFactory _factory;
ProjectionFactory _project;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public void close() {

}

class RichSpoutCoordinator implements ITridentSpout.BatchCoordinator {
private static class RichSpoutCoordinator implements ITridentSpout.BatchCoordinator {
@Override
public Object initializeTransaction(long txid, Object prevMetadata, Object currMetadata) {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public boolean isReady(long txid) {
}
}

public class FeederEmitter implements ITridentSpout.Emitter<Map<Integer, List<List<Object>>>> {
private static class FeederEmitter implements ITridentSpout.Emitter<Map<Integer, List<List<Object>>>> {

int _index;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public String toString() {
}
}

public class CoordinatedOutputCollector implements IOutputCollector {
private static class CoordinatedOutputCollector implements IOutputCollector {
IOutputCollector _delegate;

TrackedBatch _currBatch = null;;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ private static interface InputDeclaration {
String getStream();
}

private class SpoutDeclarerImpl extends BaseConfigurationDeclarer<SpoutDeclarer> implements SpoutDeclarer {
private static class SpoutDeclarerImpl extends BaseConfigurationDeclarer<SpoutDeclarer> implements SpoutDeclarer {
SpoutComponent _component;

public SpoutDeclarerImpl(SpoutComponent component) {
Expand All @@ -346,7 +346,7 @@ public SpoutDeclarer addConfigurations(Map conf) {
}
}

private class BoltDeclarerImpl extends BaseConfigurationDeclarer<BoltDeclarer> implements BoltDeclarer {
private static class BoltDeclarerImpl extends BaseConfigurationDeclarer<BoltDeclarer> implements BoltDeclarer {
Component _component;

public BoltDeclarerImpl(Component component) {
Expand Down