Using Justice validation had the advantage of providing much more detailed information about errors than is supplied by the JVM (including the stack state and a portion of the problem code).
使用Justice检验的优势是:提供的错误信息要比JVM提供的信息更详细(包括堆栈状态和部分问题代码)。
The problem here is not with sequential consistency. Code is being moved, not reordered.
这里的问题不是有关顺序一致性的,而是代码被移动了,不是重新排序。
Therefore, if a code generation problem occurs, it is most likely that the code generator can not handle the serialization of the method parameters or return types in your service class.
因此,如果出现代码生成问题,那么最有可能的是代码生成器不能处理您的服务类中的方法参数或返回类型的序列化。
The problem: the code bases of your projects are accumulating technical debt and they have already started to slowdown.
你的问题是:项目的基础代码一直在积累技术债务,但是这些债务已经开始下降了。
Over time, this kind of "I'll code around the problem" approach encourages code bloat and lots of incompatible special-purpose APIs, which isn't a good thing.
随着时间的推移,这种“围绕问题进行编码”的方法怂恿了代码的膨胀和许多不兼容的特殊目的API,这并不是好事情。
It shows code samples illustrating the problem and also gives detailed information on avoiding, detecting, and fixing the problem.
它显示了阐明问题的代码样例,也给出了关于避免、检测和修复问题的详细信息。
You can sometimes predict complexity based on speculative knowledge of the problem domain, but writing code creates new constraints and opportunities that are virtually impossible to predict.
有时候可以根据问题域的理论知识预测复杂性,但是在编写代码时,又会产生新的约束和机会,这些实际上是无法预测的。
EJB containers handled this problem with code generation.
EJB容器使用代码生成处理该问题。
The problem with this code is that when the array of values is sorted, the count of duplicates will no longer be accurate.
这部分代码的问题是,如果数组中的值已经排序,那么重复值计数就不再准确。
The problem is, the more code that is created in this way, the more unmanageable it becomes, and the more difficult it becomes to develop in an unobtrusive manner.
问题是,以这种方法创建的代码越多,代码将越来越难以管理,要以一种低调的方式进行开发将变得越来越困难。
Thus you can solve each compatibility problem separately and ensure your code runs in all browsers that support advanced event handling.
这样你就能分贝的解决浏览器兼容性问题也能确保你的代码能在所有的浏览器里良好的运行。
One big problem with many code migration tools is that they translate code line-by-line; they do not attempt to understand the semantics and just literally translate each statement.
许多代码移植工具的一个最大的问题是它们是逐行的转化代码;它们不会去理解语义,仅仅逐字的来转化每个声明。
In other cases, crash or a hang happens in code that is in the JVM process space yet outside the range of compiled code in that process, that would indicate a problem with JIT-compiled code.
在另外一些情况下,在JVM进程的代码中,但是在该进程的已编译代码之外,会产生崩溃或挂起,这可以说明问题是由于JIT编译的代码产生的。
The user has no way to tell if the problem is authentication, a missing script (which is the case here), user error, or even whether something in the code caused the problem.
用户无法判断问题究竟是认证问题、没找到脚本(此处就是这种情况)、用户错误还是代码中有些地方产生了问题。
The problem is in the code that accesses the database to find all the books for a given author, as shown below.
问题在于访问数据库以找到一个给定作者的所有书籍的代码中,如下所示。
They're a result of bad code, and in most cases, code without the problem would have been easy to write.
这些问题是错误编码的结果,在大部分情况中,很容易写出没有问题的代码。
The best you can usually do is to reproduce the problem and figure out the code that is failing.
通常,最好的方法是再次生成这个问题,并找到出现错误的代码。
Once you've objectively determined there's a problem in the code, you can use a handy refactoring pattern to improve it.
一旦客观地判断出代码中有问题,那么就可以用方便的重构模式改进它。
Using a framework, you can often solve a complex problem with just a dozen lines of code.
通过框架,解决一个复杂的问题往往仅需几十行代码。
The problem is amplified; poorly-documented code tends to get modified in ways that make it even harder to document or understand.
因此这个问题就被进一步放大了;缺少文档的代码往往会被按照更难以编写文档或难以理解的方式进行修改。
The problem is that this kind of code effectively localizes a program for only one or a limited set of locales.
其问题就是,该方法仅对一个或有限个区域设置的程序本地化有效。
Building on top of poorly designed code, rather than fixing the problem, just makes the problem worse.
但在设计不好的代码上面继续扩展,而不去解决这个问题,会使问题更加恶化。
Well, I know the problem must be in the code I just wrote, and there's not much going on there.
唔,我知道问题一定出在刚才所写的代码中,没有进一步考虑下去。
This helps making sure the code builds correctly and any problem is spotted early.
这有助于确保代码的正确构建,及早发现问题。
And then you have a little problem, and you go and you fix the little problem, because it's code, and you have an editor, and you edit it.
然后有些小问题,接下来你过来解决这些小问题,因为它是代码,而你有编辑器,你能修改它。
This could be very useful if you want to figure out whether a particular problem is due to code within your plug-in or on the DB2 side.
这对于断定某个特定问题是由插件中的代码造成的,还是由DB 2引起的是非常有用的。
One problem is that ZSI's server code doesn't seem to have an easy way of aligning the namespace used in the request.
有一个问题是,ZSI的服务器代码似乎不能轻易地纠正请求中所用的名称空间。
By drilling down into the packets, I could identify a problem with the code I hadn't previously noticed and identify both the error and the query that triggered the problem.
通过分析数据包,我能够识别之前并没有注意的错误代码,并且能够指出这个错误及导致发生问题的查询。
By drilling down into the packets, I could identify a problem with the code I hadn't previously noticed and identify both the error and the query that triggered the problem.
通过分析数据包,我能够识别之前并没有注意的错误代码,并且能够指出这个错误及导致发生问题的查询。
应用推荐