{"comment":{"created_at":"2011-10-08T06:07:04Z","body":"Actually in a server context I can't rely on property files since it is a nightmare to maintain these by editing server based files. Especially when admin != developer","updated_at":"2011-10-08T06:07:04Z","url":"https://api.github.com/repos/ahmedyha/LightCouch/issues/comments/2330653","id":2330653,"user":{"avatar_url":"https://secure.gravatar.com/avatar/835fbbeadcc3d7477fa1a0e1f6446bec?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/Stwissel","id":542549,"login":"Stwissel"}},"action":"created","issue":{"number":3,"created_at":"2011-10-06T15:09:52Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I'm looking to wrap this into an OSGi plug-in and it would be nice if I can just have an instance with only one class:\r\n\r\n\r\n\t/**\r\n\t * Constructs a new instance of this class.\r\n\t * @param dbParam the parameters needed to connect to the database\r\n\t */\r\n\tpublic CouchDbClient(CouchDbParameter dbParam) { \r\n\t\tString dbName = dbParam.getDbName();\r\n \t\tboolean createDbIfNotExist = dbParam.getCreateDbIfNotExist();\r\n\t\tString protocol = dbParam.getProtocol();\r\n\t\tString host = dbParam.getHost();\r\n\t\tint port = dbParam.getPort();\r\n\t\tString username = dbParam.getUserName();\r\n\t\tString password = dbParam.getPassword();\r\n\t\tsuper(new CouchDbConfig(dbName, createDbIfNotExist, protocol, host, port, username, password));\r\n\t}\r\n\r\nCouchDbParameter would just contain getter/setters for the values","comments":4,"title":"Could you add a new constructor?","updated_at":"2011-10-08T06:07:04Z","url":"https://api.github.com/repos/ahmedyha/LightCouch/issues/3","id":1834639,"assignee":{"avatar_url":"https://secure.gravatar.com/avatar/bae1bb9aba69c2a258993ec81c5913d5?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/ahmedyha","id":918647,"login":"ahmedyha"},"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/835fbbeadcc3d7477fa1a0e1f6446bec?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/Stwissel","id":542549,"login":"Stwissel"},"html_url":"https://github.com/ahmedyha/LightCouch/issues/3","labels":[],"state":"open"},"legacy":{"issue_id":1834639,"comment_id":2330653}}