Skip to content
This repository has been archived by the owner on May 7, 2020. It is now read-only.

added default constructors #1931

Merged
merged 1 commit into from
Jul 28, 2016
Merged

Conversation

kaikreuzer
Copy link
Contributor

fixes #1924

Signed-off-by: Kai Kreuzer kai@openhab.org


private final String value;

public StringType() {
this.value = "";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For HSB and Percent type you already call the other constructor.
Perhaps we could use this(""); here

@maggu2810
Copy link
Contributor

One minor comment on StringType. But at all, LGTM

Signed-off-by: Kai Kreuzer <kai@openhab.org>
@kaikreuzer
Copy link
Contributor Author

Ok, updated the StringType constructor accordingly.

@maggu2810 maggu2810 merged commit ea96831 into eclipse-archived:master Jul 28, 2016
cdjackson added a commit to cdjackson/smarthome that referenced this pull request Aug 1, 2016
* master: (29 commits)
  Fix mDNS discovery (bug eclipse-archived#577 eclipse-archived#1745) (eclipse-archived#1742)
  create thread pool for firmware update job on demand (eclipse-archived#1906)
  fixes yahoo weather config status provider (eclipse-archived#1937)
  minor changes for the config status message key handling as discussed in eclipse-archived#1819 (eclipse-archived#1933)
  added default constructors (eclipse-archived#1931)
  added gulp-util, which has been missing (eclipse-archived#1929)
  Bug fix: Input type text (eclipse-archived#1930)
  moved to its own repo at https://github.com/eclipse/smarthome.osgi-ri.enocean (eclipse-archived#1923)
  Support state options in control UI (eclipse-archived#1888)
  LIFX binding: Fix eclipse-archived#1915 IllegalMonitorStateException may occur when unlocking after sending broadcast packet (eclipse-archived#1919)
  re-added support for dimmable plug-in units (eclipse-archived#1913)
  use context equals case insensitive for password (eclipse-archived#1910)
  added ConfigStatusBridgeHandler (eclipse-archived#1898)
  Add title tooltip to icons (eclipse-archived#1892)
  added a hint about periodically executed jobs (eclipse-archived#1909)
  override methods to keep type information (eclipse-archived#1911)
  Hue binding: fix 1880 (eclipse-archived#1899)
  mark API dependencies as provided (eclipse-archived#1904)
  password context based input (eclipse-archived#1897)
  make BridgeBuilder a subclass of ThingBuilder and adapt BaseBridgeHandler.editThing() (eclipse-archived#1894)
  ...
@kaikreuzer kaikreuzer deleted the const branch November 9, 2016 10:34
@kaikreuzer kaikreuzer added this to the 0.9.0 milestone Nov 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

InstantiationException StringType at startup
2 participants