Project

General

Profile

« Previous | Next » 

Revision 7814

remove serial number from indexeventlog - it is not used elsewhere in the api. https://projects.ecoinformatics.org/ecoinfo/issues/5944

View differences:

metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/event/IndexEventFileLog.java
76 76
    /**
77 77
     * Write an IndexEvent into a file
78 78
     * @param event
79
     * @return the serial number for this event
80 79
     * @throws IndexEventLogException
81 80
     */
82
    public synchronized long write(IndexEvent event) throws IndexEventLogException {
81
    public synchronized void write(IndexEvent event) throws IndexEventLogException {
83 82
        if(event != null) {
84 83
            Vector<String> lines = new Vector<String>();
85 84
            StringBuffer lineBuffer = new StringBuffer();
......
115 114
            }
116 115
            index++;
117 116
        }
118
        return index;
117
        return;
119 118
    }
120 119
    
121 120
    
metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/event/IndexEventLog.java
39 39
     * @return the serial number for this event
40 40
     * @throws IndexEventLogException
41 41
     */
42
    public long write(IndexEvent event) throws IndexEventLogException;
42
    public void write(IndexEvent event) throws IndexEventLogException;
43 43
    
44 44
    /**
45 45
     * Remove an IndexEvent in storage

Also available in: Unified diff