private Set<ObjectId> advertisedHaves;
/** Capabilities requested by the client. */
- private Set<String> enabledCapablities;
+ private Set<String> enabledCapabilities;
/** Commands to execute, as received by the client. */
private List<ReceiveCommand> commands;
pckOut = new PacketLineOut(rawOut);
pckOut.setFlushOnEnd(false);
- enabledCapablities = new HashSet<String>();
+ enabledCapabilities = new HashSet<String>();
commands = new ArrayList<ReceiveCommand>();
service();
pckIn = null;
pckOut = null;
refs = null;
- enabledCapablities = null;
+ enabledCapabilities = null;
commands = null;
if (timer != null) {
try {
final int nul = line.indexOf('\0');
if (nul >= 0) {
for (String c : line.substring(nul + 1).split(" "))
- enabledCapablities.add(c);
+ enabledCapabilities.add(c);
line = line.substring(0, nul);
}
}
}
private void enableCapabilities() {
- reportStatus = enabledCapablities.contains(CAPABILITY_REPORT_STATUS);
+ reportStatus = enabledCapabilities.contains(CAPABILITY_REPORT_STATUS);
- sideBand = enabledCapablities.contains(CAPABILITY_SIDE_BAND_64K);
+ sideBand = enabledCapabilities.contains(CAPABILITY_SIDE_BAND_64K);
if (sideBand) {
OutputStream out = rawOut;