Skip to content

Tag: java

Refactoring method with Optional to one line [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. Improve this question I have a method in my Service for updating existing organisations. How to refactor this metho…

Run gradle task after doLast of a other task

I have a variable in my build.gradle (xy) file with an integer value and three simple tasks. The tree tasks are also “bundled” in a fourth task, to call the three tasks one after one. If I call the task callAll, the task callOne should add 5 to the int value, task callTwo should add also 5 the int…

How to fetch the most recently added Date from the table

Scenario: I have a Screen where i need to enter the Date by incrementing the Date by 10 days …. After entering the Date and saving the entered Date could come anywhere in the table. My Question is how do i fetch the newly entered date everytime from the table and store it so that with that date i can

regEx codenameon

i’m working in the last part of my project in java i used pattern regExp for email and password verification and now i tried to use them in codenameone but it didn’t work maybe it’s because of the syntaxe or the import i searched but i found noting here’s the pattern i declared and i c…