Uploaded image for project: 'Tamaya'
  1. Tamaya
  2. TAMAYA-132

Remove @ConfigDefault in favour of @Config(defaultValue=...)

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.1-incubating
    • Fix Version/s: 0.2-incubating
    • Component/s: Modules
    • Labels:

      Description

      Aligning with most config frameworks today. Instead of

      @Config("key1")
      @ConfigDefault("foo");
      private String configuredValue;
      

      one would write

      @Config("key1", defaultValue="foo")
      private String configuredValue;
      

      This reduces the annotation needed.

        Attachments

          Activity

            People

            • Assignee:
              anatole Anatole Tresch
              Reporter:
              anatole Anatole Tresch
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified