~viktor.balazs/embla/embla-0-1-4

« back to all changes in this revision

Viewing changes to embla/src/hu/dcwatch/embla/protocol/nmdc/command/NmdcCommand.java

  • Committer: cyb at dcwatch
  • Date: 2009-03-06 00:48:20 UTC
  • Revision ID: cyb@dcwatch.hu-20090306004820-5914e8d205gxh1mr
* Change SSL context creation (we can use different key and keystore password)
* Use unique version between releases (embla-0-1-3pre1 etc.)
+ Add license and readme again from 0-1-2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*      
2
 
        Copyright (C) 2008-2009  Viktor Bal�zs
 
2
        Copyright (C) 2008-2009  Viktor Bal�zs
3
3
        
4
4
        This program is free software: you can redistribute it and/or modify
5
5
        it under the terms of the GNU General Public License as published by
18
18
package hu.dcwatch.embla.protocol.nmdc.command;
19
19
 
20
20
import hu.dcwatch.embla.command.Command;
21
 
import hu.dcwatch.embla.protocol.adc.AdcConstants;
22
21
import hu.dcwatch.embla.protocol.nmdc.NmdcConstants;
23
22
 
24
23
import java.util.ArrayList;
86
85
 
87
86
                StringBuilder stringBuilder = new StringBuilder(NmdcConstants.COMMAND_PREFIX + command);
88
87
                for (String parameter : parameters) {
89
 
                        stringBuilder.append(AdcConstants.SEPARATOR + parameter);
 
88
                        stringBuilder.append(NmdcConstants.SEPARATOR + parameter);
90
89
                }
91
90
 
92
91
                data = stringBuilder.toString();