~ubuntu-branches/debian/stretch/geary/stretch

« back to all changes in this revision

Viewing changes to src/engine/imap/command/imap-command.vala

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng
  • Date: 2015-04-29 02:55:37 UTC
  • mfrom: (3.1.13)
  • Revision ID: package-import@ubuntu.com-20150429025537-6o00z6549l6c70qz
Tags: 0.10.0-1
New upstream release. (Closes: #782594)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright 2011-2014 Yorba Foundation
 
1
/* Copyright 2011-2015 Yorba Foundation
2
2
 *
3
3
 * This software is licensed under the GNU Lesser General Public License
4
4
 * (version 2.1 or later).  See the COPYING file in this distribution.
74
74
        add(tag);
75
75
        add(new AtomParameter(name));
76
76
        if (args != null) {
77
 
            foreach (string arg in args) {
78
 
                StringParameter? stringp = StringParameter.get_best_for(arg);
79
 
                if (stringp != null)
80
 
                    add(stringp);
81
 
                else
82
 
                    add(new LiteralParameter(new Memory.StringBuffer(arg)));
83
 
            }
 
77
            foreach (string arg in args)
 
78
                add(Parameter.get_for_string(arg));
84
79
        }
85
80
    }
86
81