This is an automated email from the ASF dual-hosted git repository.

juanpablo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jspwiki.git


The following commit(s) were added to refs/heads/master by this push:
     new 921f8bbcd Fix test compilation due to move to Jamm 0.4.0
921f8bbcd is described below

commit 921f8bbcd211e6a421b365d4b060f3e5fd9b981c
Author: Juan Pablo Santos Rodríguez <juanpablo.san...@gmail.com>
AuthorDate: Sun Nov 19 22:24:16 2023 +0100

    Fix test compilation due to move to Jamm 0.4.0
---
 jspwiki-main/src/test/java/org/apache/wiki/MemoryProfiling.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jspwiki-main/src/test/java/org/apache/wiki/MemoryProfiling.java 
b/jspwiki-main/src/test/java/org/apache/wiki/MemoryProfiling.java
index 756ea355e..4a864f72c 100644
--- a/jspwiki-main/src/test/java/org/apache/wiki/MemoryProfiling.java
+++ b/jspwiki-main/src/test/java/org/apache/wiki/MemoryProfiling.java
@@ -51,7 +51,7 @@ class MemoryProfiling {
         final Acl acl = Wiki.acls().acl();
         final AclEntry aclEntry = Wiki.acls().entry();
 
-        final MemoryMeter meter = new MemoryMeter();
+        final MemoryMeter meter = MemoryMeter.builder().build();
         final long engineBytes = meter.measureDeep( engine );
         final long engineWithDefaultPagesBytes = meter.measureDeep( 
engineWithDefaultPages );
         final long mainBytes = meter.measureDeep( main );

Reply via email to