Changeset 30188 in osm for applications


Ignore:
Timestamp:
2014-01-07T09:52:14+01:00 (11 years ago)
Author:
malcolmh
Message:

restore js57toosm

Location:
applications/editors/josm/plugins/smed2
Files:
5 added
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/smed2/js57toosm/src/js57toosm/Js57toosm.java

    r30187 r30188  
    88 */
    99
    10 package s57;
     10package js57toosm;
    1111
    1212import java.io.*;
    1313
     14import s57.S57dat;
     15import s57.S57dat.*;
     16import s57.S57map;
    1417import s57.S57map.*;
    15 import s57.S57dat.*;
    1618
    1719public class Js57toosm {
  • applications/editors/josm/plugins/smed2/src/s57/S57dat.java

    r30187 r30188  
    138138        private static int index;
    139139        private static S57field field;
     140        public static int rnum;
    140141       
    141142        public static void setField(byte[] buf, int off, S57field fld, int len) {
     
    173174                                        wrap = true;
    174175                                } else {
    175                                         System.out.println("ERROR: Subfield not found " + subf.name() + " in " + field.name() + " in record " + Js57toosm.rnum);
     176                                        System.out.println("ERROR: Subfield not found " + subf.name() + " in " + field.name() + " in record " + rnum);
    176177                                        System.exit(-1);
    177178                                }
Note: See TracChangeset for help on using the changeset viewer.