Skip to content
#

Java

java logo

Java was originally developed as an alternative to the C/C++ programming languages. It is now mainly used for building web, desktop, mobile, and embedded applications. Java is owned and licensed through Oracle, with free and open source implementations available from Oracle and other vendors.

Here are 97,430 public repositories matching this topic...

wilkinsona
wilkinsona commented Feb 27, 2020

Via @mikand13 on Gitter, the documentation about configuring custom health HTTP status mappings may give the impression that the custom mapping is in addition to the default mappings. It is actually in place of the default mappings. This is intentional as it allows users to replace the defaults but the documentation is unclear.

We should review and update [this section](https://docs.spring.io/s

advanced-java
yanglbme
yanglbme commented Apr 15, 2019

英雄招募

成为 Doocs 项目维护者

本项目 advanced-java,包括 Doocs 开源组织下的所有项目,都欢迎各位朋友参与完善。

如果你提交的内容有价值,且具备规范性,将有机会提升为项目的维护者,直接参与项目的 review、merge 等维护工作,提交内容时也可以直接 pushdoocs/advanced-java 主分支 master 下,无须提交 PR 等待 review。

目前 advanced-java 只有 [yanglbme](http

Malachiasz
Malachiasz commented Nov 12, 2018

When Retrofit2 returns okhttp3.ResponseBody then it has to be closed in order to avoid memory leaks, right? It's something what I have just noticed in our code and am not sure.

@GET("accountId")
@WorkerThread
Call<ResponseBody> getUserData(@Header(NetworkConstants.Header.AUTHORIZATION) String accessToken);

...
Response<ResponseBody> response = interface.getUserData();
// do something 

mall项目是一套电商系统,包括前台商城系统及后台管理系统,基于SpringBoot+MyBatis实现,采用Docker容器化部署。 前台商城系统包含首页门户、商品推荐、商品搜索、商品展示、购物车、订单流程、会员中心、客户服务、帮助中心等模块。 后台管理系统包含商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等模块。

  • Updated Mar 6, 2020
  • Java
SeppPenner
SeppPenner commented Apr 29, 2018

Your documentation for the description methods for a chart is outdated.

https://github.com/PhilJay/MPAndroidChart/wiki/General-Chart-Settings-&-Styling:

  • setDescription(String desc): Set a description text that appears in the bottom right corner of the chart.
  • setDescriptionColor(int color): Sets the color of the description text.
  • setDescriptionPosition(float x, float y): Sets a cu
leetcode
azl397985856
azl397985856 commented Mar 1, 2020

使用队列实现栈的下列操作:

push(x) -- 元素 x 入栈
pop() -- 移除栈顶元素
top() -- 获取栈顶元素
empty() -- 返回栈是否为空
注意:

你只能使用队列的基本操作-- 也就是 push to back, peek/pop from front, size, 和 is empty 这些操作是合法的。
你所使用的语言也许不支持队列。 你可以使用 list 或者 deque(双端队列)来模拟一个队列 , 只要是标准的队列操作即可。
你可以假设所有操作都是有效的(例如, 对一个空的栈不会调用 pop 或者 top 操作)。

来源:力扣(LeetCode)
链接:https://leetcode-cn.com/problems/implement-stack-using-queues
著作权归领扣网络所有。商业转载请联系官方授权

leakcanary
Armaxis
Armaxis commented Feb 6, 2020

Run following commands and enjoy the stream of warnings from Dokka:

rm -rf docs/api
./gradlew leakcanary-android-core:dokka leakcanary-android-instrumentation:dokka leakcanary-android-process:dokka leakcanary-object-watcher-android:dokka leakcanary-object-watcher:dokka shark-android:dokka shark-graph:dokka shark-hprof:dokka shark-log:dokka shark:dokka

Review errors and see if any of t

mee0wth
mee0wth commented May 30, 2019

Hello everyone,

I would like to propose adding more documentation on this open source project as there is limited information for new contributors (especially English speaking ones). Here are the 2 additional documentation I think should be added to help new contributors to this project:

  1. Add Authors / Main Contributors contact section
    In case new contributors have questions, it would
villain-bryan
villain-bryan commented Mar 16, 2018

Issue details

While in a LibGDX environment if you press down a key and then switch to any window outside of LibGDX's scope and release that key, the LibGDX environment does not detect that release event.

Upon re-entry to the LibGDX environment, there should probably be some re-polling evaluation of the keys LibGDX thinks are pressed keys to determine if they are still pressed or not.

Created by James Gosling

Released May 23, 1995

Website
www.oracle.com/technetwork/java/javase/overview/index.html
Wikipedia
Wikipedia
You can’t perform that action at this time.