for (int i = variants.length; --i >= 0;) {
for (int i = 0; i < variants.length; i++) {
	public static void load(final String bundleName, final ClassLoader loader, final Field[] fields) {		final String[] variants = buildVariants(bundleName);		// search the dirs in reverse order so the cascading defaults is set correctly		for (int i = variants.length; --i >= 0;) {			final InputStream input = loader.getResourceAsStream(variants[i]);			if (input == null)				continue;			try {				final MessagesProperties properties = new MessagesProperties(fields, bundleName);				properties.load(input);			} catch (IOException e) {				// TODO log			} finally {				if (input != null)					try {						input.close();					} catch (IOException e) {						// ignore					}			}		}	}