Revision 0099339a src/gr/grnet/pithos/web/client/FilePublishDialog.java

b/src/gr/grnet/pithos/web/client/FilePublishDialog.java
221 221
    }
222 222
	/**
223 223
	 * Accepts any change and updates the file
224
	 * @return 
224 225
	 *
225 226
	 */
226 227
	@Override
227
	protected void accept() {
228
	protected boolean accept() {
228 229
        Boolean published = null;
229 230
		if (readForAll.getValue() != file.isPublished())
230 231
			if (file.getOwner().equals(app.getUsername()))
231 232
                published = readForAll.getValue();
232 233
        updateMetaData(app.getApiPath(), app.getUsername(), file.getUri() + "?update=", published);
234
        return true;
233 235
	}
234 236

  
235 237
	protected void updateMetaData(String api, String owner, final String path, final Boolean published) {

Also available in: Unified diff