{{title}}
{{description}}
Create Openshift Jenkins pipelines
Keyset pagination
{{description}}
Using regex you can convert all void setters to flow or builder setters
Having:
public SomeClass setX(…){}
and using the regex:
public void set([\w]+.+\{(\n\s+).+)
with replace:
public SomeClass set$1$2return this;
It transforms
public void setX(int x){
this.x;
}
to
public MyClass setX(int x){
this.x;
return this;
}
Tested with Intellij.
Easy solutions to every day problems.
Easy solutions to every day problems.
© Survival recipes. Design: HTML5 UP. Ported For SSG by Julio Pescador. Adapted to JBake by Manik Magar. Baked with JBake v2.6.4. Sitemap.
Twitter
Facebook
Reddit
LinkedIn
StumbleUpon
Email