Example usage for org.apache.commons.collections BufferUtils unmodifiableBuffer

List of usage examples for org.apache.commons.collections BufferUtils unmodifiableBuffer

Introduction

In this page you can find the example usage for org.apache.commons.collections BufferUtils unmodifiableBuffer.

Prototype

public static Buffer unmodifiableBuffer(Buffer buffer) 

Source Link

Document

Returns an unmodifiable buffer backed by the given buffer.

Usage

From source file:org.xwiki.ircbot.internal.BrokenLinkEventListener.java

/**
 * @return the latest broken links found in the wiki
 *///  w ww . j a  va2s. c om
// TODO: Expose this through a user-public interface since this is currently in the internal package only!
public Buffer getLastBrokenLinks() {
    return BufferUtils.unmodifiableBuffer(this.lastBrokenLinks);
}