jdk/test/sun/net/www/http/ChunkedOutputStream/checkError.java
author ohair
Tue, 25 May 2010 15:58:33 -0700
changeset 5506 202f599c92aa
parent 2 90ce3da70b43
child 38471 7baac1d79ed1
permissions -rw-r--r--
6943119: Rebrand source copyright notices Reviewed-by: darcy, weijun
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     2
 * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
 * published by the Free Software Foundation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    21
 * questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
/**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
 * @test
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
 * @bug 5054016
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
 * @run main/othervm/timeout=300 checkError
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
 * @summary get the failure immediately when writing individual chunks over socket fail
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
import java.io.*;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
import java.net.*;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
import java.util.StringTokenizer;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
public class checkError {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
    static final int TEST_PASSED = 95;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
    static final int TEST_FAILED = 97;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
    static int testStatus = TEST_PASSED;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
    static String serverName = "localhost";
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
    static int bufferSize = 8192; // 8k
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
    static int totalBytes = 1048576; // 1M
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
    static int j = 0;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
    static public Object threadStarting = new Object();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
    static public Object threadWaiting = new Object();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
    public static void main(String[] args) throws Exception {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
        HttpURLConnection conn = null;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
        OutputStream toServer = null;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
        byte[] buffer = null;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
        HTTPServer server = null;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
        synchronized(threadWaiting) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
            System.out.println("HTTP-client>Starting default Http-server");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
            synchronized(threadStarting) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
                server = new HTTPServer();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
                server.start();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
                try {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
                    System.out.println("waiting server to be start");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
                    threadStarting.wait();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
                } catch (InterruptedException e) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
            int port = server.getPort();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
            URL url = new URL("http://" + serverName + ":" + port);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
            conn = (HttpURLConnection )url.openConnection();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
            conn.setRequestMethod("POST");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
            conn.setDoOutput(true);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
            System.out.println("assigning 1024 to the chunk length");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
            conn.setChunkedStreamingMode(1024);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
            conn.connect();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
            toServer = conn.getOutputStream();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
            buffer = getThickBuffer(bufferSize);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
            System.out.println("sending " + totalBytes + " bytes");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
        int byteAtOnce = 0;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
        int sendingBytes = totalBytes;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
        try {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
            while (sendingBytes > 0) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
                if (sendingBytes > bufferSize) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
                    byteAtOnce = bufferSize;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
                } else {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
                    byteAtOnce = sendingBytes;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
                toServer.write(buffer, 0, byteAtOnce);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
                sendingBytes -= byteAtOnce;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
                // System.out.println((totalBytes - sendingBytes) + " was sent");
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
                toServer.flush();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
        } catch (OutOfMemoryError e) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
            e.printStackTrace();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
            System.out.println("***ERR***> UNEXPECTED error: " + e);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
            testStatus = TEST_FAILED;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
            testExit();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
        } catch (IOException e) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
            // e.printStackTrace();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
            // this is the expected IOException
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
            // due to server.close()
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
            testStatus = TEST_PASSED;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
            testExit();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
        } finally {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
            toServer.close();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
        // we have not received the expected IOException
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
        // test fail
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
        testStatus = TEST_FAILED;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
        testExit();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
    static void testExit() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
        if (testStatus == TEST_FAILED) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
            throw new RuntimeException("Test Failed: haven't received the expected IOException");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
        } else {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
            System.out.println("TEST PASSED");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
        System.exit(testStatus);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
    static byte[] getThickBuffer(int size) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
        byte[] buffer = new byte[size];
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
        for (int i = 0; i < size; i++) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
            if (j > 9)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
                j = 0;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
            String s = Integer.toString(j);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
            buffer[i] = (byte )s.charAt(0);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
            j++;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
        return buffer;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
class HTTPServer extends Thread {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
    static volatile boolean isCompleted;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
    Socket client;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
    ServerSocket serverSocket;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
    int getPort() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
        return serverSocket.getLocalPort();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
    public void run() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
        synchronized(checkError.threadStarting) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
            try {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
                serverSocket = new ServerSocket(0, 100);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
            } catch (Exception e) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
                e.printStackTrace();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
                checkError.testStatus = checkError.TEST_FAILED;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
                return;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
            checkError.threadStarting.notify();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
        try {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
            client = serverSocket.accept();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
        } catch (Exception e) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
            e.printStackTrace();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
            checkError.testStatus = checkError.TEST_FAILED;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
            return;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
        System.out.println("Server started");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
        BufferedReader in = null;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
        PrintStream out = null;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
        InputStreamReader reader = null;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
        String version = null;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
        String line;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
        String method;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
        synchronized(checkError.threadWaiting) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
            try {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
                reader = new InputStreamReader(client.getInputStream());
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
                in = new BufferedReader(reader);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
                line = in.readLine();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
            } catch (Exception e) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
                e.printStackTrace();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
                checkError.testStatus = checkError.TEST_FAILED;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
                return;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
            StringTokenizer st = new StringTokenizer(line);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
            method = st.nextToken();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
            String fileName = st.nextToken();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
            // save version for replies
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
            if (st.hasMoreTokens()) version = st.nextToken();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
            System.out.println("HTTP version: " + version);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
        try {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
            while (line != null && line.length() > 0) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
                line = in.readLine();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
                System.out.println(line);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
        } catch (IOException e) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
            e.printStackTrace();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
            checkError.testStatus = checkError.TEST_FAILED;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
            return;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
        if (method.equals("POST")) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
            System.out.println("receiving data");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
            byte[] buf = new byte[1024];
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
            try {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
                //reading bytes until chunk whose size is zero,
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
                // see 19.4.6 Introduction of Transfer-Encoding in RFC2616
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
                int count = 0;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
                while (count <=5) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
                    count++;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
                    in.readLine();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
                System.out.println("Server socket is closed");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
                in.close();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   235
                client.close();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   236
                serverSocket.close();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
            } catch (IOException e) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
                e.printStackTrace();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
                checkError.testStatus = checkError.TEST_FAILED;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
                return;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
            } catch (OutOfMemoryError e) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
                e.printStackTrace();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
                checkError.testStatus = checkError.TEST_FAILED;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
                return;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
            }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   247
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   249
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   250
90ce3da70b43 Initial load
duke
parents:
diff changeset
   251
}