Index: src/OFAutoreleasePool.h ================================================================== --- src/OFAutoreleasePool.h +++ src/OFAutoreleasePool.h @@ -50,15 +50,10 @@ * the pool, so reusing the pool does not allocate any memory until the previous * number of objects is exceeded. It behaves this way to optimize loops that * always work with the same or similar number of objects and call relaseObjects * at the end of the loop, which is probably the most common case for * releaseObjects. - * - * If a garbage collector is added in the future, it will tell the GC that now - * is a good time to clean up, as this is often used after a lot of objects - * have been added to the pool that should be released before the next iteration - * of a loop, which adds objects again. Thus, it is usually a clean up call. */ - (void)releaseObjects; /*! * @brief Releases all objects in the autorelease pool and deallocates the pool. Index: src/OFStream.h ================================================================== --- src/OFStream.h +++ src/OFStream.h @@ -762,11 +762,11 @@ * @param enable Whether the write buffer should be enabled or disabled */ - (void)setWriteBuffered: (bool)enable; /*! - * @brief Writes everythig in the write buffer to the stream. + * @brief Writes everything in the write buffer to the stream. */ - (void)flushWriteBuffer; /*! * @brief Writes from a buffer into the stream. @@ -1082,15 +1082,15 @@ */ - (int)fileDescriptorForWriting; #ifdef OF_HAVE_SOCKETS /*! - * @brief Cancels all pending asyncronous requests on the stream. + * @brief Cancels all pending asynchronous requests on the stream. * * @warning You are not allowed to call this inside the handler of an - * asyncronous request, as this would cancel the asyncronous request - * that is currently being handled! To cancel all pending asyncronous + * asynchronous request, as this would cancel the asynchronous request + * that is currently being handled! To cancel all pending asynchronous * requests after the handler has finished executing, you may schedule * a timer for this method with a timeout of 0 from inside the handler. */ - (void)cancelAsyncRequests; #endif Index: src/exceptions/OFInvalidJSONException.h ================================================================== --- src/exceptions/OFInvalidJSONException.h +++ src/exceptions/OFInvalidJSONException.h @@ -40,21 +40,21 @@ /*! * @brief Creates a new, autoreleased invalid JSON exception. * * @param string The string containing the invalid JSON representation - * @param line The line in which the parsing error encountered + * @param line The line in which the parsing error was encountered * @return A new, autoreleased invalid JSON exception */ + (instancetype)exceptionWithString: (OFString*)string line: (size_t)line; /*! * @brief Initializes an already allocated invalid JSON exception. * * @param string The string containing the invalid JSON representation - * @param line The line in which the parsing error encountered + * @param line The line in which the parsing error was encountered * @return An initialized invalid JSON exception */ - initWithString: (OFString*)string line: (size_t)line; @end