mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-03-09 02:10:03 +00:00
parent
1c55aa1548
commit
5000f34690
@ -45,7 +45,7 @@ public static long getNextExecNumber() {
|
||||
}
|
||||
|
||||
public static String getNextExchangeId() {
|
||||
return String.format("ex-%08X", COUNT.incrementAndGet());
|
||||
return String.format("ex-%010d", COUNT.incrementAndGet());
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -529,7 +529,7 @@ class InternalConnectionEndpoint extends ConnectionEndpoint implements Identifia
|
||||
InternalConnectionEndpoint(
|
||||
final PoolEntry<HttpRoute, ManagedHttpClientConnection> poolEntry) {
|
||||
this.poolEntryRef = new AtomicReference<>(poolEntry);
|
||||
this.id = String.format("ep-%08X", COUNT.getAndIncrement());
|
||||
this.id = String.format("ep-%010d", COUNT.getAndIncrement());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -492,7 +492,7 @@ class InternalConnectionEndpoint extends AsyncConnectionEndpoint implements Iden
|
||||
|
||||
InternalConnectionEndpoint(final PoolEntry<HttpRoute, ManagedAsyncClientConnection> poolEntry) {
|
||||
this.poolEntryRef = new AtomicReference<>(poolEntry);
|
||||
this.id = String.format("ep-%08X", COUNT.getAndIncrement());
|
||||
this.id = String.format("ep-%010d", COUNT.getAndIncrement());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user