飞快帽子

文章
5
资源
0
加入时间
2年10月17天

Gson转换int遍double

Gson在转换时会将原有Integer类型转换成Double类型的现象调用:Gson gson = GsonUtil.gsonBuilder();Map<String, Object> parameterMap = gson.fromJson(postData,new TypeToken<TreeMap<String, Object>>(){}.getType());重写Gson:public static Gs

Flume自定义开发常见异常及解决办法

前言前些日子,对Flume进行了自定义sink和source的开发。遇到一些异常,以后关于Flume的异常都统一记录与此处。(除了个别较为麻烦的异常处理)正文Flume source has been removed due to an error in configuration 中文含义: Flume的source部分因为配置异常被移除。 表象: Flume中source...

macos mojave_如何在macOS Mojave中启用暗模式

macos mojaveMacOS Mojave brought with it a slew of new features, the most striking of which is a system-wide dark mode that applies to all native Apple apps and compliments Apple’s Night Shift to ease...