Created
April 20, 2017 14:30
-
-
Save miku/4913230b8c52d4f7ccce1d0184ae1879 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TODO: #8575, for sid 127, use finer access facet (e.g. "Software" should be "Local Holdings") | |
// Why isn't result of getFormat ("FormatOrig") passed directly to "access_map.properties"? | |
// Use switch here? | |
switch (source_id) { | |
case "0": | |
return getFormat(record); | |
case "3": | |
result.add("LocalAccess"); | |
break; | |
case "51": | |
result.add("LocalAccess"); | |
break; | |
case "127": | |
result.add(getFormat(record)); | |
break; | |
default: | |
result.add("RemoteAccess"); | |
break; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment