Merge pull request #3941 from DeltaNedas/public
make some proc stuff public
This commit is contained in:
@@ -68,7 +68,7 @@ public class LogicBlock extends Block{
|
||||
});
|
||||
}
|
||||
|
||||
static String getLinkName(Block block){
|
||||
public static String getLinkName(Block block){
|
||||
String name = block.name;
|
||||
if(name.contains("-")){
|
||||
String[] split = name.split("-");
|
||||
@@ -82,11 +82,11 @@ public class LogicBlock extends Block{
|
||||
return name;
|
||||
}
|
||||
|
||||
static byte[] compress(String code, Seq<LogicLink> links){
|
||||
public static byte[] compress(String code, Seq<LogicLink> links){
|
||||
return compress(code.getBytes(charset), links);
|
||||
}
|
||||
|
||||
static byte[] compress(byte[] bytes, Seq<LogicLink> links){
|
||||
public static byte[] compress(byte[] bytes, Seq<LogicLink> links){
|
||||
try{
|
||||
ByteArrayOutputStream baos = new ByteArrayOutputStream();
|
||||
DataOutputStream stream = new DataOutputStream(new DeflaterOutputStream(baos));
|
||||
|
||||
Reference in New Issue
Block a user