浏览代码

FileServer: remove unused >>username:password: method

This method also does not work with the commandline parameter handling
Manfred Kroehnert 11 年之前
父节点
当前提交
77dd72e980
共有 3 个文件被更改,包括 0 次插入34 次删除
  1. 0 12
      cli/js/AmberCli.deploy.js
  2. 0 17
      cli/js/AmberCli.js
  3. 0 5
      cli/st/AmberCli.st

+ 0 - 12
cli/js/AmberCli.deploy.js

@@ -634,18 +634,6 @@ return self}, function($ctx1) {$ctx1.fill(self,"username:",{aUsername:aUsername}
 messageSends: []}),
 smalltalk.FileServer);
 
-smalltalk.addMethod(
-smalltalk.method({
-selector: "username:password:",
-fn: function (aUsername,aPassword){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-self["@username"]=aUsername;
-self["@password"]=aPassword;
-return self}, function($ctx1) {$ctx1.fill(self,"username:password:",{aUsername:aUsername,aPassword:aPassword},smalltalk.FileServer)})},
-messageSends: []}),
-smalltalk.FileServer);
-
 smalltalk.addMethod(
 smalltalk.method({
 selector: "writeData:toFileNamed:",

+ 0 - 17
cli/js/AmberCli.js

@@ -810,23 +810,6 @@ referencedClasses: []
 }),
 smalltalk.FileServer);
 
-smalltalk.addMethod(
-smalltalk.method({
-selector: "username:password:",
-category: 'accessing',
-fn: function (aUsername,aPassword){
-var self=this;
-return smalltalk.withContext(function($ctx1) { 
-self["@username"]=aUsername;
-self["@password"]=aPassword;
-return self}, function($ctx1) {$ctx1.fill(self,"username:password:",{aUsername:aUsername,aPassword:aPassword},smalltalk.FileServer)})},
-args: ["aUsername", "aPassword"],
-source: "username: aUsername password: aPassword\x0a\x09username := aUsername.\x0a\x09password := aPassword.",
-messageSends: [],
-referencedClasses: []
-}),
-smalltalk.FileServer);
-
 smalltalk.addMethod(
 smalltalk.method({
 selector: "writeData:toFileNamed:",

+ 0 - 5
cli/st/AmberCli.st

@@ -137,11 +137,6 @@ port: aNumber
 
 username: aUsername
 	username := aUsername.
-!
-
-username: aUsername password: aPassword
-	username := aUsername.
-	password := aPassword.
 ! !
 
 !FileServer methodsFor: 'initialization'!