Skip to content
This repository has been archived by the owner on Nov 5, 2018. It is now read-only.

Commit

Permalink
Adds a deprecation notice
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Håkansson committed Sep 12, 2018
1 parent 03a5879 commit 94d1e94
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
[![Type](https://img.shields.io/badge/type-api-blue.svg)](https://github.com/brailleapps/wiki/wiki/Types)
[![License: LGPL v2.1](https://img.shields.io/badge/License-LGPL%20v2%2E1%20%28or%20later%29-blue.svg)](https://www.gnu.org/licenses/lgpl-2.1)

Note: This project has been merged into dotify.api (https://github.com/brailleapps/dotify.api) and
will not be updated anymore. Please use dotify.api instead.

## braille-utils.api ##
This contains the Braille Utils API.

Expand Down
2 changes: 2 additions & 0 deletions src/org/daisy/braille/utils/api/embosser/EmbosserCatalog.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ public EmbosserCatalog() {
logger = Logger.getLogger(this.getClass().getCanonicalName());
providers = new CopyOnWriteArrayList<>();
map = Collections.synchronizedMap(new HashMap<String, EmbosserProvider>());
logger.warning("Note: braille-utils.api has been merged into dotify.api (https://github.com/brailleapps/dotify.api). " +
"braille-utils.api will not be updated anymore. Please use dotify.api.");
}

/**
Expand Down
2 changes: 2 additions & 0 deletions src/org/daisy/braille/utils/api/paper/PaperCatalog.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ public class PaperCatalog implements PaperCatalogService {
*/
public PaperCatalog() {
map = Collections.synchronizedMap(new HashMap<String, Paper>(UserPapersCollection.getInstance().getMap()));
logger.warning("Note: braille-utils.api has been merged into dotify.api (https://github.com/brailleapps/dotify.api). " +
"braille-utils.api will not be updated anymore. Please use dotify.api.");
}

/**
Expand Down
2 changes: 2 additions & 0 deletions src/org/daisy/braille/utils/api/table/TableCatalog.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public TableCatalog() {
logger = Logger.getLogger(this.getClass().getCanonicalName());
providers = new CopyOnWriteArrayList<>();
map = Collections.synchronizedMap(new HashMap<String, TableProvider>());
logger.warning("Note: braille-utils.api has been merged into dotify.api (https://github.com/brailleapps/dotify.api). " +
"braille-utils.api will not be updated anymore. Please use dotify.api.");
}

/**
Expand Down

0 comments on commit 94d1e94

Please sign in to comment.