Skip to content

Commit e1c2962

Browse files
committed
minor changes
1 parent 5af90da commit e1c2962

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

modules/swagger-core/src/main/java/io/swagger/v3/core/converter/ModelConverterContextImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public Schema resolve(AnnotatedType type) {
8787
processedTypes.add(type);
8888
}
8989
if (LOGGER.isDebugEnabled()) {
90-
LOGGER.debug(String.format("resolve %s from %s", type.getType(), System.identityHashCode(this)));
90+
LOGGER.debug(String.format("resolve %s", System.identityHashCode(this)));
9191
}
9292
Iterator<ModelConverter> converters = this.getConverters();
9393
Schema resolved = null;

modules/swagger-core/src/test/java/io/swagger/v3/core/converting/ComplexPolymorphicModelTimingTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ public void complexPolymorphicModelTimingTest() {
2121
measureTiming(10, () -> ModelConverters.getInstance(true).readAllAsResolvedSchema(ModelWithArrayOfSubclasses.Holder.class));
2222
LOGGER.debug("Simple model duration: " + durationSimpleModel + "ms");
2323

24-
// The complex model shouldn't take 5000 times longer
24+
// The complex model shouldn't take 1000 times longer
2525
final float factor = (float) durationComplexModel / durationSimpleModel;
2626
LOGGER.debug("Factor: " + factor);
27-
assertTrue(factor <= 200);
27+
assertTrue(factor <= 1000);
2828
}
2929

3030
private long measureTiming(int iterations, Runnable runnable) {

0 commit comments

Comments
 (0)