Skip to content

Instantly share code, notes, and snippets.

@cwensel
Created August 31, 2011 03:19
Show Gist options
  • Select an option

  • Save cwensel/1182739 to your computer and use it in GitHub Desktop.

Select an option

Save cwensel/1182739 to your computer and use it in GitHub Desktop.
Properties builder
Map<Object, Object> properties = getProperties();
properties = appProps()
.setName( appName )
.setVersion( appVersion )
.addTag( stamp )
.addTag( appName )
.addTag( "app-tag" )
.build( properties ); // or buildProperties() or ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment