diff --git a/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/info/InfoEndpointDocumentationTests.java b/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/info/InfoEndpointDocumentationTests.java index 87bbd40f4c..89739cf6d2 100644 --- a/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/info/InfoEndpointDocumentationTests.java +++ b/spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/info/InfoEndpointDocumentationTests.java @@ -100,22 +100,21 @@ class InfoEndpointDocumentationTests extends MockMvcEndpointDocumentationTests { .type(JsonFieldType.NUMBER), fieldWithPath("memory").description("Memory information."), fieldWithPath("memory.heap").description("Heap memory."), - fieldWithPath("memory.heap.init").description("The number of bytes initially requested by the JVM."), - fieldWithPath("memory.heap.used").description("The number of bytes currently being used."), - fieldWithPath("memory.heap.committed").description("The number of bytes committed for JVM use."), + fieldWithPath("memory.heap.init").description("Number of bytes initially requested by the JVM."), + fieldWithPath("memory.heap.used").description("Number of bytes currently being used."), + fieldWithPath("memory.heap.committed").description("Number of bytes committed for JVM use."), fieldWithPath("memory.heap.max") - .description("The maximum number of bytes that can be used by the JVM (or -1)."), + .description("Maximum number of bytes that can be used by the JVM (or -1)."), fieldWithPath("memory.nonHeap").description("Non-heap memory."), - fieldWithPath("memory.nonHeap.init").description("The number of bytes initially requested by the JVM."), - fieldWithPath("memory.nonHeap.used").description("The number of bytes currently being used."), - fieldWithPath("memory.nonHeap.committed").description("The number of bytes committed for JVM use."), + fieldWithPath("memory.nonHeap.init").description("Number of bytes initially requested by the JVM."), + fieldWithPath("memory.nonHeap.used").description("Number of bytes currently being used."), + fieldWithPath("memory.nonHeap.committed").description("Number of bytes committed for JVM use."), fieldWithPath("memory.nonHeap.max") - .description("The maximum number of bytes that can be used by the JVM (or -1)."), + .description("Maximum number of bytes that can be used by the JVM (or -1)."), fieldWithPath("memory.garbageCollectors").description("Details for garbage collectors."), fieldWithPath("memory.garbageCollectors[].name").description("Name of of the garbage collector."), fieldWithPath("memory.garbageCollectors[].collectionCount") .description("Total number of collections that have occurred.")); - } private ResponseFieldsSnippet javaInfo() {