~ubuntu-branches/ubuntu/vivid/apgdiff/vivid

« back to all changes in this revision

Viewing changes to src/main/java/cz/startnet/utils/pgdiff/parsers/CreateFunctionParser.java

  • Committer: Package Import Robot
  • Author(s): Christoph Berg
  • Date: 2012-09-24 11:24:01 UTC
  • mto: (10.1.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: package-import@ubuntu.com-20120924112401-0ft8nabl6hmn6bnh
Tags: upstream-2.4
ImportĀ upstreamĀ versionĀ 2.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
public class CreateFunctionParser {
20
20
 
21
21
    /**
22
 
     * Creates a new instance of CreateFunctionParser.
23
 
     */
24
 
    private CreateFunctionParser() {
25
 
    }
26
 
 
27
 
    /**
28
22
     * Parses CREATE FUNCTION and CREATE OR REPLACE FUNCTION statement.
29
23
     *
30
 
     * @param database database
 
24
     * @param database  database
31
25
     * @param statement CREATE FUNCTION statement
32
26
     */
33
27
    public static void parse(final PgDatabase database,
111
105
 
112
106
        function.setBody(parser.getRest());
113
107
    }
 
108
 
 
109
    /**
 
110
     * Creates a new instance of CreateFunctionParser.
 
111
     */
 
112
    private CreateFunctionParser() {
 
113
    }
114
114
}