Skip to content

Commit cdd271e

Browse files
committed
Add Uni interceptor to manage @CallScope
1 parent 1dd0d03 commit cdd271e

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

src/main/java/com/jwebmp/core/base/angular/client/services/interfaces/AnnotationUtils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1471,7 +1471,7 @@ class MyNgOnInit implements NgOnInit, IConfiguration
14711471

14721472
public MyNgOnInit(String value)
14731473
{
1474-
this.value = value;
1474+
this.value = value.trim();
14751475
}
14761476

14771477
@Override
@@ -1512,7 +1512,7 @@ public boolean equals(Object o)
15121512
return false;
15131513
}
15141514
MyNgOnInit that = (MyNgOnInit) o;
1515-
return onParent == that.onParent && onSelf == that.onSelf && Objects.equals(value, that.value);
1515+
return onParent == that.onParent && onSelf == that.onSelf && Objects.equals(value.trim(), that.value.trim());
15161516
}
15171517

15181518
@Override
@@ -1572,7 +1572,7 @@ public boolean equals(Object o)
15721572
return false;
15731573
}
15741574
MyNgOnDestroy that = (MyNgOnDestroy) o;
1575-
return onParent == that.onParent && onSelf == that.onSelf && Objects.equals(value, that.value);
1575+
return onParent == that.onParent && onSelf == that.onSelf && Objects.equals(value.trim(), that.value.trim());
15761576
}
15771577

15781578
@Override

src/main/java/module-info.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@
99
import com.jwebmp.core.base.angular.client.services.spi.*;
1010

1111
module com.jwebmp.core.base.angular.client {
12-
requires com.guicedee.client;
13-
requires com.jwebmp.client;
12+
requires transitive com.guicedee.client;
13+
requires transitive com.jwebmp.client;
1414
//requires transitive com.jwebmp.core;
1515
//requires org.apache.commons.io;
1616

17-
requires com.guicedee.guicedinjection;
17+
requires transitive com.guicedee.guicedinjection;
1818

1919
requires static lombok;
20-
requires com.guicedee.jsonrepresentation;
21-
requires org.apache.commons.lang3;
22-
requires org.apache.commons.io;
23-
requires jakarta.validation;
24-
requires org.apache.logging.log4j.core;
20+
requires transitive com.guicedee.jsonrepresentation;
21+
requires transitive org.apache.commons.lang3;
22+
requires transitive org.apache.commons.io;
23+
requires transitive jakarta.validation;
24+
requires transitive org.apache.logging.log4j.core;
2525

2626
exports com.jwebmp.core.base.angular.client.annotations.angular;
2727
exports com.jwebmp.core.base.angular.client.annotations.components;

0 commit comments

Comments
 (0)